0
votes
0answers
8 views

Rewrite rules for subterms in custom taxonomies

I am using a large number of custom taxonomies. My post type is called "location" and there is a parent term "Asia" and a subterm "Thailand". Now I created the taxonomy archive template files ...
0
votes
0answers
36 views

When WP_Query only returns 1 post, how do I automatically redirect to that post?

I've been searching around for a few hours now and can't figure out how to do this. Seems really simple. I've seen lots of redundant examples on how to redirect to a single post when a search result ...
0
votes
0answers
49 views

Redirect permalinks after creating custom post types

I'm in the process of reorganizing a website with many posts (~30.000) a part of which have to be migrated to a new custom post type. Since the custom posts have an added slug to the permalink, is ...
0
votes
1answer
57 views

Passing variable as permalink URL

I've been trying to adapt the rewrite functions described here with little success: Passing variables through permalink structure WordPress permalinks and custom $_GET Variables The structure of ...
0
votes
1answer
70 views

Media/attachment urls don't redirect with fake URL structure

I'm having an issue with media/attachment files and I'm not quite sure how WordPress is returning the URL that it does. I've noticed that I can add anything as a subdirectory structure before a media ...
0
votes
1answer
34 views

Different permalink for CPT and regular Posts/Pages but why?

Permalink structure in Back-end: http://domain.com/%year%/%category%/%postname% For "regular" Posts/Pages all is okay but as soon a CPT is shown %year% is gone? Url shown for Posts/Pages looks some ...
0
votes
1answer
56 views

Wordpress permalinks and javascript redirection

I need to use javascript redirection in one of my scripts. With /%postname%/ WP permalinks structure redirection works like it should but with default it always redirects to home page. /%postname%/ ...
0
votes
0answers
21 views

Blogger To WordPress Permalink Redirection

Is there any way to redirect following or anything permalink like this: http://www.example.com/2014/02/post-title.html to http://www.example.com/2014/02/post-title/ Any link with a .html in the ...
2
votes
2answers
523 views

Resolve a custom post type name vs. page permalink conflict (same slug)

I have a custom post type called "visningshus", and also a Page with that slug. This is as it should (must) be. Currently, "http://my-site.com/visningshus" lists all posts of that type. I want to ...
0
votes
0answers
103 views

Get canonical link

Hi I know get_permalink returns the URL. Some of my posts are redirected and at the same time I update the canonical link to the redirected post URL - (normally relates to post updates). Is there a ...
0
votes
2answers
1k views

How to redirect non-logged in users to a specific page?

How to redirect non-logged users requesting for a specific page/URL to another page/URL and display a message like "for members only". I know its quite easy to code using !is_user_logged_in() ...
0
votes
1answer
238 views

Redirect & permalink problems after moving multisite to a new server

I just moved my subdomain multisite to a new server and I'm having some trouble with permalinks & redirects. One difference post-move is that I have moved core WP files into it's own directory ...
0
votes
1answer
21 views

new page redirect to old page which had the same permalink

I had a page on /features/ and a newer page on /features-2/ I wanted the newer page to get the more pretty slug /features/ So i did the following: /features/ => /features-old/ /features-2/ => ...
0
votes
1answer
35 views

Some Pemalink problems, probably caused by wrong .htaccess configuration?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink configuration The main problem is that if I use the permalink setted ...
0
votes
1answer
53 views

Redirect Pretty Permalinks to Ugly Permalinks

I want to change the permalinks from /%postname%.html to the default ?p=%post_id% permalink. I know how to change the permalink structure that from WordPress admin panel. However, I have over 30000 ...
0
votes
1answer
72 views

Wordpress permalink still not working (error or not understood?)

After hours in understanding wordpress permalinks I'm despairing and hope that somebody can help. I have the following link: www.mysite.com/?page_id=923&bahn=BER After activating the ...
1
vote
1answer
23 views

How to 301 all posts

I am currently using domain/%postname%/ but I am looking to change it to domain/folder/%postname%/ - I unsure how to 301 all posts. If I was to use something like Redirect 301 /$ domain/folder/$ I ...
0
votes
0answers
40 views

Automatic redirect on change of permalink not working if child page

When changing the name of a permalink on a per post basis wordpress will automatically redirect the old URL to the new URL, but not if the page is a child page. e.g: Changing ...
0
votes
0answers
38 views

Removed and Reinstalled Wordpress, Redirect Broken now

I just removed and reinstalled wordpress, I think something messed up.. Now when I enter URL, such as "test123.com", nothing load.. The ".htaccess" file on root folder is empty. and content of ...
0
votes
0answers
57 views

Redirect page to first custom taxonomy term archive

Is there a way to redirect a page to the archive page of the first term in a custom taxonomy archive? For example I want the page "Videos" to redirect to whatever term is first (Ordered by it's ...
0
votes
0answers
182 views

WP in subdirectory : redirect loop error due to redirect_canonical

I have a fresh Wordpress install in a subdirectory: /blog/ I visit my Wordpress site like this: http://www.example.com/blog and posts like this: http://www.example.com/blog/category/postname In ...
1
vote
1answer
126 views

Random Alphanumeric Key URLs

I need random (and unique) alphanumeric permalinks. I've looked at several plugins but they all seem to do some form of redirection to a longer URL. That's not what I want, I want the permalink to be ...
2
votes
3answers
143 views

Wordpress within specific sub-directories, implicitly not root

I have an existing application running at my website root now. Using .htaccess, would it be possible for a single Wordpress installation to manage sub-directories? For example, /press/, /careers/, ...
0
votes
0answers
44 views

Pagination is not working, how to trace it properly?

Suddenly a website of my own started to doing this: pagination links jumps homepage, www.mysite.com/page/2 >>> www.mysite.com Pagination generator works correct, but WP wont show, How to ...
0
votes
1answer
188 views

Changing the post date without causing 404 error

We have permalink structure based on date (like 'www.mysite/2012/05/27/postname'). Some times there are some posts that we need to be shown the first, so we change they date. The problem is, that by ...
1
vote
1answer
261 views

Permalink redirection from 'Day and name' to 'Post name'

In my blog, I used the Day and name permalink structure for many days. Recently I came to know the SEO tips and made the permalink structure to Post name. So I migrated from: ...
4
votes
2answers
958 views

Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/

I made a site some time ago and after some days some posts were indexed by search engines. Today I changed the permalink structure from /%postname%/ to /%category%/%postname%/. After that, when ...
0
votes
1answer
356 views

Redirect single article permalink to paginated category page

Is it possible to redirect from a permalink (a single article) to that same post in a relevant category page, which might be paginated? So when people visit http://domain/post_number they get ...
1
vote
1answer
122 views

Passing the JQuery string to Worldpress URL

I have already followed the tutorial here: http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/ But it still doesn't work. In the function.php, my code is //decode ...
0
votes
1answer
100 views

redirect old pages by .htaccess

i want to redirect pages from sitename/sitename/pagename.html and sitemap/sitename/ to sitemap/sitename/pagename how i can do that by using .haccess file i tried this code ...
1
vote
1answer
555 views

redirect loop to page, can't find origin, can't remove [closed]

I have a new client who did "something, I can't remember what" to her blog. Now when you visit the home page, it redirects to a page she created and deleted, "/road-maps/". I have no idea why it ...
2
votes
2answers
1k views

Redirect old permalinks to new permalinks

I changed the permalink structure from /%category%/%postname%/ to /%year%/%monthnum%/%postname%// How can I redirect all old posts to the new ones (eg: via htaccess)?
0
votes
1answer
33 views

My wordpress site must be being affected by outside sources [duplicate]

Possible Duplicate: Error 310 too many redirects after switching domains Some of my pages are resulting in 310 errors. We recently switched domains from kgstiles.com to ...
1
vote
1answer
43 views

Post incorrectly displaying as page

I have a small WordPress install that I'm setting up, and have run into an issue that I've encountered before, but do not understand the cause. Issue: With permalinks set to /%postname%/, on a site ...
0
votes
2answers
170 views

Redirecting From An Old Permalink Structure

We recently launched a new site that has a different permalink stucture than its prior one. Old site URL was like this: http://centerline.net/blog/detail/?p=3989 New like this: ...
1
vote
2answers
753 views

WordPress 3.4 Permalinks Redirection Problem

A few years ago this was the permalink structure I had for my blog: /%year%/%category%/%postname%.html I changed these permalinks last year to this: /%category%/%postname%/%post_id%/ A plugin ...
0
votes
1answer
51 views

Test site pages go to main site

I have a test site installed on www.mydomain.com/testsite. The problem I have is that if I type in the url www.mydomain.com/testsite/about I get redirected to www.mydomain.com/about. My page for my ...
1
vote
1answer
572 views

wp_logout_url redirects to incorrect page because of pagination

Following a Wordpress Pagination tutorial, wp_logout_url( get_permalink() ); no longer redirects to the correct page. Instead of redirecting to say domain.com/page/2/, it redirects me to one of the ...
0
votes
1answer
191 views

Get permalink for a post from inside Wordpress and route to a related site

I built a mobile version of a wordpress site and added some PHP code in the wordpress index.php file to detect mobile users and HTTP-redirects them to m.website.com (which is not a wordpress ...
0
votes
1answer
203 views

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 ...
1
vote
2answers
162 views

Change permalinks on move from one site to another

I'm in the finishing stages of moving a site from Wordpress.com to a privately hosted .org installation. I've purchased the site-redirect upgrade and this is working fine, however on the new ...
0
votes
2answers
2k views

Rewrite-Rules not working on a vhost, everything goes to index.php

after setting up the wordpress htaccess rules in my vhost, i was unable to enter the wp-admin area. I was always redirected to the frontpage of my wordpress instance. The rewriting itself worked on ...
0
votes
1answer
248 views

Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)

I update my permalink structure to /post/%post_id%/%postname%, but if someone uses a URL like /post/1234 instead of the full URL of /post/1234/bingo-rulz, WordPress shows the post without giving a 301 ...
1
vote
2answers
2k views

How do I turn off 301 redirecting posts (not canonical)?

I noticed a strange behavior in WordPress where it automatically 301 redirects certain URL structures for posts. For example, I have a post entry for: mysite.com/999/about-us Then, you would think ...
4
votes
1answer
1k views

Passing variables through permalink structure

I have a WordPress page which is accessible via /accommodation/. What I want to be able to do is pass in a parameter using the URL - ie going to /accommodation/value1/ would load the same page as ...
0
votes
2answers
294 views

Changed permalink structure of CPT - should I redirect?

Following this answer, I recently changed the permalink structure of a custom post type called 'Literature' to include the taxonomy term: Old structure: mysite.com/literature/books/post_name New ...
3
votes
1answer
456 views

301 Redirects for Changed Permalink Structure & Category Base

I'm redeveloping a site on a fresh WP install. The old site had the following permalink structure: domain.com/CATEGORY/POSTNAME/ The new site has the following permalink structure: ...
0
votes
2answers
427 views

How to use different domains for different blogs hosted in the same host in subdomains with .htaccess

Background i have a website running on wordpress and all its files are located in public_html of my host. Within it i created a sub domain "phantomomaga" and redirected an other domain to that sub ...
0
votes
1answer
57 views

Need help with major category and permalink re-organization

I would like to re-organize my categories and the permalink structure. I want to rename and merge categories, make previous categories sub-categories and change the permalink structure from ...
0
votes
3answers
1k views

Wordpress permalink, stop redirection

I'm having some hard-time with with WordPress permalinks. WordPress 3.1 seems to force url redirection, ex: This is the correct post url: http://www.mysite.com/test/1/mypost.html If I go to any of ...