I’ve recently installed WordPress and can’t seem to get the website to display friendly URLs no matter what settings I use inside the Dashboard or in an .htaccess file. I’ve tried numerous versions of WordPress and still can’t achieve what I need, despite succeeding on hosts other than Concentric/XO, any idea why?
I’ve recently installed WordPress and can’t seem to get the website to display friendly
Share
Update: I released a plugin that does all of this for you. However, you still need to follow the steps for the .htaccess file. Have a look here: http://wordpress.org/extend/plugins/permalink-fix-disable-canonical-redirects-pack/
Follow these steps before you attempt to install WordPress for the first time. If you have already installed it, start over.
To get Permalinks working you need to create a .htaccess file, WordPress can’t do this automatically on this host. Here is what the basic .htaccess file should look like:
Make sure you create this file using an editor that allows for unix formatting (like PSPad, or VIM, Textmate, etc.), using notepad will give you a parsing error – it has something to do with invisible end of file characters(CLRF). Make sure the last rule has a hard return after it, it’s required. .htaccess files are cached for up to 15 minutes so you may have to wait for it to kick in.
Next you’ll need to edit your wp-settings.php file so open that up in your editor. Add the following code right above the closing ?> php tag:
If someone can write that block of code more cleanly feel free, I’m not an expert PHP programmer.
Once that block of code is in place you can proceed to run the install.
Now that WordPress is installed you’ll have to do one more thing before you can start blogging:
Create a new file called: disable-canonical-redirects.php and upload it to the wp-content/plugins directory.
Drop this block of code into that file:
Now you need to enable that plugin, go to the Admin login page:
example.com/wp-login
Enable the plugin you created. That’s it, you’re on a horse.