Website Toolbox Pro

How Can I Use Mod_rewrite To Give Users Their Own Directories?

Htaccess, Mod_Rewrite Comments »
I want to have directories such as www.mydomain.com/user1 actually access www.mydomain.com/users/user1.
How can I do this in the .htaccess file without affecting the redirection of other files and directroies on the server?
Many thanks.

Continue reading How Can I Use Mod_rewrite To Give Users Their Own Directories? »

Mod_rewrite Configuration

Htaccess, Mod_Rewrite Comments »
I have the following problem, I have this standard mod_rewrite configuration for TextPattern use.

<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>

This helps rewrite folders such as:
http://www.website.com/products/
into a index.php TXP compatible URL.

However, I have one real physical directory called http://www.website.com/choristes/ that I don’t want to be rewritten by the RewriteRule.

Could you tell me how I can configure my htaccess to achieve this specific behaviour?

Thanks a lot!

Continue reading Mod_rewrite Configuration »

Wordpress Integration Questions?

Mod_Rewrite, SEO Comments »
I contacted my webhost to find out on whether I can run Wordpress?

I’m an absolute beginner. I want to be able to keep my site fresh and up to date with articles and images. And I’m assuming Wordpress can get the job done. The thing is my site was developed using xhtml and css. How can I integrate Wordpress for this site?

My site is hosted under Windows Platform. It support PHP, MySQL but do not support for mod_rewrite Apache module. I’ve been told by my host that I might need to transfer to Linux Platform.

Now what do I do? What is this mod_rewrite Apache module. What does it do? And what is my next plan? Do I move to a Linux platform as advised or can I still use Wordpress with the Windows platform?

Continue reading Wordpress Integration Questions? »

Mod_Rewrite URL?

Htaccess, Mod_Rewrite Comments »
How can I use mod rewrite to rewrite my URL. I want my URL to look like this
http://www.whatever.com/links
Not
http://www.whatever.com/links.html

Please, be VERY detailed.

Continue reading Mod_Rewrite URL? »