I'm having troubles with index.php in my urls -
hello have main domain have instabuilder setup on , when creating page instabuilding creates "maindomain.com/pagename"
the problem i'm having addon domain when create page instabuilder creates link addondomain.com/index.php/pagename why index.php coming up, link doesn't nice.
any appreciated. thank
this code can use in .htaccess (under document_root) remove index.php uri:
options +followsymlinks -multiviews # turn mod_rewrite on rewriteengine on rewritebase / rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php?$1 [l,qsa] rewritecond %{the_request} ^[a-z]{3,}\s(.*)/index\.php [nc] rewriterule ^ %1 [r=301,l]
copy
Comments
Post a Comment