Articles of permalinks

Remove “attachment/” from the URL of attachment pages

Currently, the media for a page on /hello-world/ is shown on /hello-world/attachment/image-name/. Is it possible to remove attachment from this URL, and make it /hello-world/image-name/?

Page Name and Permalinks

I am using WordPress 3.2.1 and just added a page to my site called “Centre Management”, which in turn created a permalink: http://localhost:8888/mysite/centre-management/ for that page I just created. After this, I trashed this page and wanted to start again. So when I now create another new page with the same name as above, i.e. […]

Echo Permalink in Attachment outside of loop?

I have some code showing an image attached to a post, an image in a li list, works fine shows the image as its should. I need the image to link through its main single post though and have tried the code below. <?php $args = array( ‘post_type’ => ‘attachment’, ‘numberposts’ => -1, ‘post_status’ => […]

Problem with parent page slug only in WordPress admin

I am using the permalink structure: /%category%/%postname%/ in order to show my blog posts under their category in my url. I have also installed WordPress SEO by yoast (if that helps) but I noticed that when I go to publish a page and selected a parent page the urls in the admin becomes: http://www.mysite.com/current-page/current-page/ instead […]

Custom Permalink Structure for Pages & Posts

I’d like to create a permalink structure that works in the following way: Pages – http://myurl.com/pagename Posts – http://myurl.com/news/postname/ How would I do so? Thank you

Comment author url link is wrong? How to change from authors/ to author/

I’m maintaining a rather simple blog where a small number of people are registered as administrators to write posts. When making a link to the authors URL in a posts meta data, I use the function get_author_posts_url(authorid). This links to e.g. mydomain.com/author/bill This is the correct URL for the author Bill. Now I’ve just discovered […]

Importer failed to import posts as format “day and name”

I had a blog exposing posts as “day and name”. After exporting that blog and importing it on a new installation of WordPress I can’t see the posts in that format, only in the default one: http://blog.xxxxx.com/main/?p=123 Also moving to previous pages (http://blog.xxxxx.com/main/page/2/) does not work. Is this a known issue with a solution?

when I create a page with a /blog permalink the css gets messed up

When I create a page with a default template and parent set to no parent, with the permalinks name being sitename/blog the css on that page gets messed up(including the admin bar is all messed up), if I change the permalinks structure to sitename/blogs it works perfectly fine. Also if I change the parent to […]

Problem with special character WordPress

I have a WordPress and everything seems perfectly fine but I have this page that has title 77% and it shows error 404 page. How can I fix this? I am kind of sure it is because of the % in the 77%. The permalink uses the 77 but for some reason wordpress still doesn’t […]

How to redirect RSS feeds to Feedburner and keep pretty permalinks?

There are many tutorials out there, but all of them give you the same code snippet. I put it into my htaccess file, but the feeds are not being redirected. I don’t want to use a plugin. I’m sure the code works. I need to figure out why it doesn’t work for me. Here’s part […]