Search code examples
wordpress.htaccesspermalinks

permalinks in wordpress


I just moved my wordpress blog from one host to another but permalink is giving trouble. Other than the homepage, other pages give a page not found error.

I edited the htaccess as per instructions

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /projects/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wdmgroup/index.php [L]
</IfModule>

I even tried deleting the htaccess and rewriting but to no avail.

P.S : htaccess and Mod Rewriteare both enabled in Apache's conf

Regards, Loveleen


Solution

  • I found the solution. Everything else was tried but still it didnt work. Later i realized that I had to make a Virtual DIrectory in apache for folder wdmgroup which I had directly placed inside the www folder.