+ Reply to Thread
Results 1 to 1 of 1
-
04-01-2010 02:39 PM #1
Cannot view Wordpress site in subfolder - How to fix
I found a useful technique for getting your Wordpress blog to work if installed to a subdirectory. This is particularly relevant if you have a shared hosting or reseller account as I know it has been problematic with these types.
When trying to go into the wp-login or even index.php you receive a page cannot be displayed message it may be you need to add some lines to your .htaccess file within your Wordpress root (i.e. – http://yourdomain.com/wordpress/.htaccess
Try putting these lines in to redirect to the index.php (changing subdirectory to your folder name)
That should sort out your site and allow you to get on it and logged in.Code:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /subdirectory/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /subdirectory/index.php [L] </IfModule> # END WordPress
Similar Threads
-
Link Building is the most important part of Optimizing a site
By marketraisecorp in forum General Webmaster DiscussionsReplies: 4Last Post: 12-02-2008, 12:34 PM -
http://nothingofanything.com custom blog site
By Guppy in forum Buy Sell WebsitesReplies: 0Last Post: 07-01-2005, 08:27 AM -
Guide to Buying a Website
By myshtern in forum Buy Sell WebsitesReplies: 0Last Post: 03-26-2005, 07:37 PM -
Why web hosts and ISPs need web site monitoring By David Leonhardt
By ovi in forum Web HostingReplies: 0Last Post: 03-02-2005, 05:20 PM -
Do it yourself (DIY) Web site Promotion Part 4
By temi in forum Search Engine MarketingReplies: 0Last Post: 10-20-2004, 08:30 PM


LinkBack URL
About LinkBacks
Reply With Quote



Bookmarks