webtodd
Member
Posted 6 years ago #
i just attempted to move my .htaccess file from the wordpress directory into the root of my site... but i couldn't figure out how to do this. i used absoluteftp software and changed the settings to "view dot files"... but moving the file wasn't as easy as drag and drop. anyone know an easy way to move this file? i was following these instructions to give wordpress its own directory:
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
1. Download the file from your site to a local directory.
2. Go to the root for your site.
3. Upload the file from your local directory to the site.
Regards
webtodd
Member
Posted 6 years ago #
webtodd
Member
Posted 6 years ago #
is my .htaccess file formatted correctly?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
webtodd
Member
Posted 6 years ago #
i'm having this problem now...when i click a link such as:
http://www.domain.com/wordpress/about
for some reason this URL is not found:
http://www.domain.com/wordpress/index.php/about/
why would it be inserting that "index.php" in the URL? that seems to be causing the 404 page to come up.
How do you have your permalinks set?
And yes, that .htaccess looks pretty typical for a WP 2.x install. WP handles most of the redirection internally these days.
webtodd
Member
Posted 6 years ago #
below are my current settings:
---
wordpress address:
/wordpress
blog address:
http://domain.com/wordpress
Your WordPress address needs to be a full URL, just like your blog address.
webtodd
Member
Posted 6 years ago #
this problem is still driving me nuts!
--
when i click a link such as:
http://www.domain.com/wordpress/about
for some reason this URL is not found:
http://www.domain.com/wordpress/index.php/about/
Your WordPress address needs to be a full URL, just like your blog address.
webtodd
Member
Posted 6 years ago #
i changed it to the full URL and i'm still having the same issue.
webtodd
Member
Posted 6 years ago #
when i click on the "permalinks" option in the admin, the admin is actually showing these same broken URLs with the "index.php"
http://domain.com/index.php/2006/03/21/sample-post/
it's like the permalinks are using my blog address instead of my wordpress address???
(my blog index.php is installed on the root domain)
What OS and web server are you running?
Does your web server support mod_rewrite?
There should be no need for mod_rewrite if the index.php prefix is used.