Directory Name conflict with Permalink
-
Hi,
There’s a problem with my Permalinks.
This is my blog: https://thecurrentaffairs.com/ipl/
When I Post something starting with “IPL” it doesn’t work with Permalinks and shows “Not Found”.
I also changed by .htaccess file but it is still not working,,, can someone help me?
Original .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cms/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /cms/index.php [L]
</IfModule>
# END WordPressChanges I Made:
Added this on a new line right after “# BEGIN WordPress “
# If requested URL-path does start with “/ipl/”
rewriteCond %{REQUEST_URI} ^/ipl(.*)$
# rewrite the request to WordPress
rewriterule . /index.php [L]Currently .htaccess file looks like this:
# BEGIN WordPress
# If requested URL-path does start with “/ipl/”
rewriteCond %{REQUEST_URI} ^/ipl(.*)$
# rewrite the request to WordPress
rewriterule . /index.php [L]<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cms/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /cms/index.php [L]
</IfModule># END WordPress
Please also note that it is a Windows Server.
Thanks.
- The topic ‘Directory Name conflict with Permalink’ is closed to new replies.