How I change the pages link in Wordpress - wordpress

I've created a page in my WordPress site called "About Me". Then I deleted it. Then I created it again. Now it's shows in the link like this www.mywebsite.com/about-me-2.
I want to remove number 2. I tried renaming the permalink but it didn't work.

Please remove the already existing page in "TRASH". Then try to create the page. It will resolve the issue.

The old page still exists in the trash. You have to go find it and permanently delete it (or rename it). Afterwards you can return the new page to just /about-me.

Related

Wordpress - /page/2 not working but /?paged=2 is

I have a WordPress site where my front page is showing the latest posts.
If I have my permalinks set as plain showing...
https://example.com/paged?=2
The page loads. However, If I change the permalinks to Post name, giving me...
https://example.com/page/2/
That results in a 404.
.htaccess seems to be set up correctly. The first page has posts and the links are being generated in the pagination controls. Using Post name as the permalink setting my posts are properly linked...
https://example.com/my-wordpress-post
But https://example.com/page/2/ does not work.
Any ideas? I really need to set the permalinks to Post name. Could it be a server issue?
First thing I would recommend is to confirm your .htaccess file is set up correctly to process permalinks. If you create a new page, can you access that page with his human-friendly permalink, for example? If not, you may need to fix your .htaccess file to handle those rewrites properly.
Otherwise, can you provide more context for this issue? Is it safe to assume you have your homepage set up with a list of paginated posts?
I figured this out. Instead of selecting Post Name, I select the Custom Structure radio button instead and manually added /%postname%/ and then clicked saved.
Then it worked. :)

Renamed a page and changed the slug, now its gone

The title says it. I renamed a page in wordpress along with the permalink (the slug also changed) and now I can't find it on my site.
The menu updated along with my changes, but the page content isn't there when I click on it.
Here's the offending page
If anyone can tell me what I did wrong and particularly how to fix it, I'd really appreciate it.
Thanks in advance!
Try regenerating permalinks - editing permalink settings triggers that regeneration.
Also, if you have any kind of cache plugin running, purge it's data too.
This was a conflict with a portfolio feature in my theme (Bello by WeGraphics)... I renamed the permalink and it works fine now

Wordpress category reappears after deleting

I'm trying to delete a category in Wordpress, but it fails. To be precise it says it's deleted, but when I refresh the page, it's still there. Moreover when I tried to delete it directly in DB the same happens - I delete it, and then it comes back under a new ID.
Any ideas how to solve it?
Thanks,
Paul
Try changing the Theme and check deletion operation.
Try disabling plugins one by one and try deleting category.
See if any errors coming on firebug console.
There might be some code which is causing the issue on WordPress admin end.

Redirect Error in Wordpress

I have one website which was working perfectly then for adding meta tags and all, I have SEO-ULTIMATE plugin.
By mistake I have added Title, so my url also changed after it.
So to change it back to again what I have changed the direct url,
And then also it was not coming properly.
So i changed in redirection the new url was coming, So i changed to old one.
But then also its coming error "Redirection Loop Error".
Then i tired to remove that page which was giving problem.
And again created new page with the same name.
But now i m again trying to give the same url but its not able to give, and its coming like "page-2". but that also not able to retrive that page.
try to use this plugin http://wordpress.org/extend/plugins/custom-permalinks/ I use it when I want to change specific post/page permalink. This should work for you too.
Yes Nikola, I have tried the same.
I deleted page from trash and from the database also.
Now its working fine. Thanks for replay. :)

How can I get WordPress to recognize my newly created page template?

I recently created a new template page, I put the obligatory
<?php
/*
Template Name: New Page Template for testing
*/
?>
as the first part of the code.
Then I uploaded it to the /www/wp-content/themes/neoclassical (where all of the other custom page templates are located).
I now try to change the Template of any page to the new theme, and the new page template does not show!
Any ideas on what I need to do to get this to show up as an option on the "Add Page" area?
I have tried changing the theme to another one and back to the original theme, all to no avail.
Thanks everyone.
For future visitors:
I just had this problem in WordPress 4.8. Turns out I had removed the index.php file from my theme, which was causing the theme not to show the template dropdown.
To fix this just create an empty index.php file in your theme folder.
(WordPress does try to warn you this file is missing on the Themes page in the admin panel — but you might not visit that page while trying to fix this bug.)
Update: Trace has mentioned in the comment below that a missing style.css can also cause this to happen.
if the code of the custom template is not good. it wont show.
try using one of the examples here.
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
So, it turns out that the original developer had put the backup copy of the site in the "LiveFiles" directory, and had pointed the site to "Stuff". I was just uploading to the wrong area.
you just write this sentence and go to admin panal and add new page than you see Template box and find your template page name.
In case this suddenly happens in a working theme, try to delete delete the row starting with _transient_files from wp_options table. That solved the issue for me.

Resources