Permalinks have number suffixes - wordpress

I am using WordPress, and I have created a contact page titled 'Contact'.
Now everytime I delete the page and add it again, it adds a number suffix to it:
http://myurl/ik/contact-2/, http://myurl/ik/contact-3/ etc
So I believe there must be already existing names in the DB that occupies the titles, so I cannot overwrite them...
How can I remove page names for pages that has been deleted?
I only want the permalink to show:
http://myurl/ik/contact/
but it does not allow it in the admin panel.

Go into Pages -> Trash. Remove the duplicate pages from the Trash section.

Related

Change the Permalink on Wordpress

I want to change the permalink of the post/category that I have to custom link.
I'll attach the screenshot below. Any idea on how I can change the Permalink to custom link. Currently, I am allowed to edit the vista-hotel. Thanks in advance
To change the way WordPress uses permalinks is quite a simple process.
Go to the Settings section of your WordPress dashboard
One the left side of the dashboard under the Settings control, you should see one for Permalinks. This is what you should click.
Select the method you want to use and click the Save Changes button.
The “Custom Structure” located in the permalink settings page allows you to set up a more detailed method to create addresses. For example, you could include author names or even the precise time for each new post. The tags you can use include:
%year%
%monthnum%
%day%
%hour%
%minute%
%second%
%post_id%
%postname%
%category%
%author%
To use these tags, select the Custom Structure radio button. After the domain’s address, enter in each tag you want to include with a / in between. Here is an example:
/%author%/%monthnum$/%day%/%year%/%postname%/
This would show the author’s name, the number of the month, the day, the current year and the name of the post. For instance, it could look like:
http://yourdomain.info/john_doe/12/25/2015/name-of-the-post.
Don't forget to 301 the old urls once you have updated the permalinks

Wordpress Settings Page

In wordpress backend, under Settings > Reading, I'd like to expand the option to chose what the front page is set to. Currently there are only two options, Blogs Pages and a static page. I will have a series of about 8 different category posts. Is there a way to show or choose a category post (eg A, B, C) to be the homepage?
In order to do this, create a custom template specifically for this page. Then, in the Admin Panel, create a page and assign it that template. Your final step would be to go in under Settings > Reading and assign that page as your home page.

modify listing page in Wordpress

I'd like to change the layout of the listing page of a business directory so that it looks similar to this layout, http://pastebin.com/1aHenCCN, using the same Wordpress theme.
I will modify single-listing.php page (at minimum)
Could someone help me with this? I know that I may need to pay for this.
listing page of all listing post type is archive-listing.php ,
Single page of individual listing post type is single-listing.php. So you need to modify archive-listing.php for to effect entire listing page.
Assume that listing is your post type .

Formatting readme.txt file for WordPress Plugin

I published a free plugin to WordPress repository and I could not format readme.txt file to display ordered list in the correct way, all the list items appears on the same line.
please check the description on this link:
https://wordpress.org/plugins/wp-cloaker/
I tried to separate the list items by comma as this article says
http://www.smashingmagazine.com/2011/11/improve-wordpress-plugins-readme-txt/
but it does not work
any help?
It's markdown...You need a blank line between your initial content and the ordered list:
Here are some Features of **WP Cloaker** plugin:
1. Hide, shorten your links.
2. Custom redirection type: 301,302,303,307 and Javascript redirection.
3. Categorize your links.
4. Custom permalinks e.g : www.yoursite.com/visit/link-category-slug/link-slug.
5. Track links clicks, each time a visitor click on any link, the plugin will store the visitor information like (IP address, click date/time, Country, etc..).
6. You can add third party tracking code.
As the file has currently been written, that blank line does not exist.

How can I update my permalink structure in wordpress?

This is the old url of my blog (wp 2.2)
http://myblog.com/category-name/post-name
ex.
http://myblog.com/shoes/i-like-shoes
and Im trying to change it to
http://myblog.com/post-id/post-name.html
ex.
http://myblog.com/717/this-is-my-first-post.html
Im moving my content from wp2.2 to wp2.8 and i want to change all the categories for the current content from whatever it is now to "classic"
The problem of course is that some of my pages have a high page rank and I need to maintain this...
this is becoming a headache for me to figure out.
your help is appreciated!
Go to: http://myblog.com/wp-admin/options-permalink.php. Or, if you want to navigate manually :), go to your wordpress dashboard. In the Settings menu go to "Permalinks".
Also see http://codex.wordpress.org/Using_Permalinks for more detail, especially the fields for making custom permalinks.
Edit
To quote the above,
Using %category% with multiple categories on a post, or %tag%
When you assign multiple categories to a post, only one can show up in the permalink. This will be the lowest numbered category (see Manage Categories). The post will still be accessible through all the categories as normal.
The same thing applies to using the %tag% field in your permalink structure.
So... As long as "classic" is the lowest numbered category you use, that will work as the category name in the permalink.
Your change in structure however will break any external links pointing to your posts so your page rank is going to change as well. Unfortunately you need to choose which is more important: changing to permalinks without category names, or maintaining the pagerank of old posts.
If you just changed category names, you can do a redirect in htaccess for just the category name, IF the rest of your URL structure remains the same, i.e. date and post name.
If you changed more than just a cateory name, or don't want to mess around with htaccess, then use something like the Redirection plugin to easily handle redirects.

Resources