outofbounds
Member
Posted 5 years ago #
hello!
I finally got my local version of wordpress uploaded to a remote server and, i think, everything is working. however, i would like help with the following:
(1)for my site pages, all my urls are structured as follows: http://mydomainname.com/index.php/category/title/. for posts its a similar thing:
http://mydomainname.com/index.php/2006/10/18/sample-post/
basically, this is the "date and name based" permalink option. how do i get rid of the index.php portion of both of the above URLs? the rest of the url is fine..
(2) my home page is showing for http://mydomain.com and when i type in http://www.mydomain.com, it shows up as well. are there any issues with not having the www subdomain included in the URL's?
thanks
upekshapriya
Member
Posted 5 years ago #
You can find out how to do (1) in the WordPress codex
http://codex.wordpress.org/Using_Permalinks#Creating_Rewrite_Rules_.28.htaccess.29
Basically you need to make .htaccess rewriteable and go to /wp-admin/options-permalink.php on your site to set the options, which I guess you've done.
For (2) you can make sure that you restrict the site to either use www or not with Enforce www. Preference plugin
http://txfx.net/code/wordpress/enforce-www-preference/
outofbounds
Member
Posted 5 years ago #
thanks for the reply. i finally got it to work... the problem was the httpd.conf file on my local box/apache..
i changed a line to the following:
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
the allowoverride was set to none....
spencerp
Member
Posted 5 years ago #
Glad to hear it. ;) Can the status of this thread be changed to [Resolved] now, or..?
spencerp