Archived

This topic is now archived and is closed to further replies.

  • 0

Changing Permalink/Page Link Names

Question

Posted · Report post

Hi - I'm having trouble changing the name of the pages (the URL permalinks) to be sitename.com/post-name. When I select the option, it breaks the page entirely. I have to leave the Permalink Settings on Default. I'm used to being able to change the Permalinks easily on page. So what did I not set up correctly? 

 

 

Site: http://aibetasite.accu-image.com/

Pagelines 2.4 developer and pro user

 

Any ideas/solutions would be helpful.

 

Erin

 

 

Share this post


Link to post
Share on other sites

11 answers to this question

Posted · Report post

I don't have access to the WordPress folder, but I can get it. I've tried revisiting any Pagelines page to resave, but I still get the same error. I've clicked on the "debug" option in Site Options>>Advanced. Here's the page link: http://aibetasite.accu-image.com/?page_id=103

 

If there is supposed to be a link next to the "debug" option, I couldn't find it. Sorry.

 

(FYI, I'm have no html, css, or PHP background, so if I say stupid things, apologies in advance.)

Share this post


Link to post
Share on other sites

Posted · Report post

Deleted the .htaccess file and I still have the problem. Moving this to Wordpress.org forums. Thanks for the help.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

My .htaccess includes:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

If your former .htaccess were set to 777, that too could have been the problem. It should probably be 755.

Share this post


Link to post
Share on other sites

Posted · Report post

When these things happen there are several potential causes which Jenny has pointed out.

 

1.  The .htaccess file, which may be accessed via FTP is either corrupted or doesn't have permissions to be written to by the server.  Ask your host about this. They can either fix the permissions issue or remove the file and replace it with a blank, writeable file.

 

2.  Plugins can cause errors, particularly if they're outdated or incompatible with the current version of WordPress.  Check all your plugins to make sure they're current, but meantime, deactivate all plugins except for Akismet and try saving the permalinks at the post-name option.

Share this post


Link to post
Share on other sites

Posted · Report post

The only thing that was in the .htaccess file was:

 

# BEGIN WordPress

# END WordPress

 

What do you mean by ".htaccess were set to 777, that too could have been the problem. It should probably be 755." Sorry for being so ignorant. Tried looking the answer up online but just ended up confusing myself more.

 

Erin

Share this post


Link to post
Share on other sites

Posted · Report post

Erin,

 

The 777 permissions are wide open so that anything may read or write to a file.  The 755 permissions limit access to a file.  In this case. .htaccess should actually be 777, but you should ask the host about ownership of the file. In otherwords, does the server own it or does the user (you) own it?

 

Without all of this bit below, I don't think WP can properly change things:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
That said,  when you're trying to get to this URL that doesn't work, how are you doing it?
 
Do you have a category solutions and subcategory set up for industry-solutions in Dashboard > Posts > Categories ?
 

Share this post


Link to post
Share on other sites

Posted · Report post

I checked the .htaccess file, and the permissions are wide open. Then again, I don't know what a corrupted .htaccess file looks like. The only thing in the file is:

 
# BEGIN WordPress
 
# END WordPress
 
So... should there be something else in there? It opened just fine.
 
As for the plugins, we had this problem before any plugins were installed. Currently, we only have Pagelines supported plugins and Akismet installed. I've also tried editing from the post-name option, and half the time it moves me to the Permalinks Settings page when I try to save it. The other half of the time it just errors out.

Share this post


Link to post
Share on other sites

Posted · Report post

Which option are you selecting in Permalinks? Post name? And how so does it break the page?

Share this post


Link to post
Share on other sites

Posted · Report post

I have tried to different options in Permalinks. I've tried Post Name from the Permalinks Settings. I've also tried editing the Permalinks directly from the edit option at the top of the actual page. When I do either, it does change the name of the Permalinks, but when I view the page I get the following message: 

 

Not Found

The requested URL /solutions/industry-solutions/ was not found on this server.

 

I know I'm doing something incorrect. Derp Derp...

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Larry, Did you attempt to delete the .htaccess file ? If not please do so, once you have deleted the file. Login to your Wordpress Admin Dashboard > Settings > Permalink, when the permalink page loads, it will automatically generate a new .htaccess file. Attempt to change your permalink structure again and see if this resolves your issue. If it doesn't I recommend you create a topic on the Wordpress.org forums, as they are the best people to ask, due to this being a Wordpress related issue.

Share this post


Link to post
Share on other sites

Posted · Report post

You can try to delete the .htaccess file in the root wordpress folder and then save your permalink options. You can also visit any PageLines page to re-save your settings. For further information, please enable the "debug" option in Site Options -> Advanced and then provide us with the link (found in "more info" in debug after saving).

Share this post


Link to post
Share on other sites