Permalinks
-
i’m having trouble with my permalinks – i want them to be just the post.page name however if i set this up under the custom setting using %postname% the pages do not display and i get a message saying the page does not exist and contact my host service.
however if I use /index.php/archives/%postname% in the custom box the pages all load correctly.
I don’t particularly want the /index.php/archives part in my permalink though if possible. Can anyone help me??
-
I have two pages that visitors should be able to navigate to, but I am getting this message:
Page Not Found
We cannot locate the page you’re looking for. Please check the address and make sure all letters are lowercased with no spaces. You may also move to a different page by using the links in the menu bar above.What do I need to do to connect the sub pages to these buttons?
museumevaluationblog, I think it might be best to start your own thread as your issue may have nothing to do with this one.
First try clearing your internet cache and try again. If the problem continues, please read this first: http://codex.wordpress.org/Forum_Welcome and start a new thread with as much information as possible so people get get a better idea as to why that is occuring (there are numerous reasons.) Links also help.
Hi Curiosity,
Thanks a million for all the help! I’ve followed your instructions…
However the file in the folder is listed as a text file (but has no .txt after it) and uploads as htaccess.txt in my control panel.
I’ve deleted the Any fonts plugin (it wasn’t working properly anyway) and as for the Front Page thing – I have no plugin installed by that name so I’m even more confused as to what that bit of code is all about!!!
Will keep trying with this htaccess bit though!
No problem. I’m one of those people that learn by helping others.
RE: .htaccess file: Once uploaded on to your site, can you edit its name there? (Don’t forget the period before the “htaccess” part.)
Since you removed the AnyFonts and you don’t have that Front page thing, remove ALL of that coding and just put the code from above:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressYes I can edit the file name from the control panel – but unfortunatly has maze zero difference.
I deleted all the code and just uploaded the code you said:# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPresssaved it as htaccess..uploaded it, remamed it to get rid of the .txt bit. then changed my permalinks settings to /%postname%/
But still no joy!!! So I’ve changed them back again for now.
Hmmm…. I’m at a loss. So this is more or less guessing now LOL
Not sure if this might help, but since it has the same name that is in all your links, it might be the culprit. In the same folder where you found the .htaccess file there is also a file called “index.php”
Open that up in Notepad (if you don’t have Notepad++, you should probably get it for future editing of these files – it’s free). It should say this in it:
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require(‘./wp-blog-header.php’);
?>Look at the last line:
require(‘./wp-blog-header.php’);Is that how it looks? If there is something between “(‘.” and “/wp-blog-header.php’);” try deleting that.
this is what the index.php file says. its missing a bit from the top and end when i compare it to yours:
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require(‘./wp-blog-header.php’);
?>right – i changed the index.php file to include the bit at the bottom and top that was missing. saved it and uploaded it as a .php file. however when i put the address in the url bar to go to the site the following message came up:
<?php /** /** * Front to the WordPress application. This file doesn’t do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define(‘WP_USE_THEMES’, true); /** Loads the WordPress Environment and Template */ require(‘./wp-blog-header.php’); ?> ?> Look at the last line: require(‘./wp-blog-header.php’);on the site. so I’ve had to change it back for now.
Not sure what was different in the codes, but that last line has something to do with where your blog files are on your server, but obviously that wasn’t the cause.
I’m sorry.. I’m being more trouble than help. Hopefully someone that has come ideas will come along. I will try to think of solutions but other than what I’ve attempted – and being lost for other suggestions – I would probably first try to see if another theme works and if not, than I would try a reinstall.
Thanks for all your help π
The topic ‘Permalinks’ is closed to new replies.