Questions tagged [redirect]

"HTTP Redirection" – the process by which a request for one URL is automatically replaced by a request for a different, usually related, URL.

Filter by
Sorted by
Tagged with
0
votes
3answers
542 views

Random and Erroneous Wordpress Redirect

Would somebody mind postulating and possible reasons why their is an automated redirect on my homepage that adds /admin to the URL. Please visit www.divethegap.com/update. You will see that it ...
17
votes
3answers
19k views

Which hook should be used to add an action containing a redirect?

I want to build a plugin that grabs certain url params from the query string to build a new query string for the same page. I'm following the excellent the Professional WordPress Plugin Development ...
1
vote
1answer
300 views

File available but giving 404 in wordpress

Hey, im not sure why but php files other then wordpress either redirects to homepage or gives a 404. for example i have a timthumb.php in directory /js/ it was working fine and generating ...
0
votes
1answer
2k views

Wp Remote get with manual redirect

I set add_filter( 'http_request_redirection_count', array($instance,'SetDirectionCount')); to 0 I try to get 'http://boards.ign.com/The_Vestibule/b5296/' or 'http://www.informationweek.com/story/'...
1
vote
1answer
550 views

Taxonomy Rewrite Rules Redirecting Instead of Masking

I have a custom post type of items set up. I also have a taxonomy set up with items called categories. functions.php code: regsiter_post_type('items', array('labels' => array ...
0
votes
1answer
583 views

Parked domain redirecting to wrong error404 page

I have 3 different WordPress sites on my host provider in a linux shared hosting package. The main domain is domain-a.com. A secondary add-on domain is domain-b.com. I have a parked domain domain-c....
1
vote
1answer
1k views

If a page does not exist, include a different page?

I'm setting up a website for a client where they want several different sections, like so: Regular Site (/) - Section 1 (/section_1/) - Section 2 (/section_2/) ... - Section X The ...
0
votes
1answer
1k views

Parked domain redirect

I'm a bit lost on how to handle this redirect requirement. So far I have: www.domain-B.com parked on www.domain-A.com So, requests for www.domain-B.com/page1 resolve to www.domain-A.com/page1 and ...
2
votes
1answer
205 views

htaccess redirect dynamic posts

Probably not the correct fora to ask, but.. Also probably a simple question.. We are changing our site to Wordpress, and need to redirect old posts. Previously structure: http://url.com/art/12345....
1
vote
2answers
6k views

How to redirect a URL with parameters?

My redirection are working until parameters are added to the end of the source URL. What will be the proper way of implementing a redirect were the target will be a different URL but I want to pass ...
3
votes
4answers
728 views

Best way to handle redirects

I have number of pages that have had the urls changed, how can I setup a list of old urls and set the new urls they should point to? Thanks, Paul
0
votes
1answer
479 views

All pages load the home page if pretty permalinks are used

I'm trying to help a buddy out -- his site, on a fresh WordPress install, is behaving oddly. With default permalinks set, everything works, but with pretty permalinks set up, all of the pages on the ...
0
votes
2answers
344 views

Janrain/Simple Modal under Redirected Domain

I have a wordpress site running on one domain that has the main 'client' domain for the site redirecting to it. I've got my Wordpress Address/Site Address entered correcting in Wordpress, and the ....
0
votes
2answers
122 views

Is there any way to pass messages from a script to a redirect target in a hidden fashion?

I'm trying to pass error messages or regular messages from a page that processes a form post request to the page it then redirects to (after processing). Since i want to get rid of the POST request ...
2
votes
6answers
4k views

Wordpress CMS - hide content from public while in editing stages

I'm setting up a simple web site for a member of my family, using wordpress as a CMS. I've already registered a domain name and I'm about to set up wordpress. I want them to be able to edit the site ...
0
votes
1answer
2k views

WP insert post Redirect after function has executed

After using a function to submit custom fields the standard redirection is not longer working. What we would like is that after the post has been insetered for the user to be redirected the standard ...
1
vote
1answer
715 views

htaccess or redirect to cloak portion of a link?

I have an ad rotate plugin installed to display a few ads on my site but the plugin is coded so that it uses the full directory in the ad count link. I would like to know if there's something easy to ...
1
vote
1answer
856 views

Create/Edit posts and auto-redirect back to listing page

Is there any way to possibly force a redirection to the post (type's) listing page (edit.php?post_type=<post-type>)? EDIT: Since I got a LMGTFY link, let me clarify before I downvote it. Is ...
0
votes
2answers
6k views

Strange behavior with a redirect loop - involves WPML multi-language plugin

I have a (client) site located at http://internationalgateway.us/. We are using the WPML Multilingual CMS plugin. When choosing another language from the homepage (in this case French, since that's ...
0
votes
2answers
4k views

How to? Redirect /category/sci-fi/ to /category/scifi/?

I changed the wordpress category slug from "sci-fi" to "scifi" a few months back by accident. How can I redirect /category/sci-fi/ to /category/scifi/ so that /category/sci-fi/page/2/, /category/...
0
votes
3answers
15k views

How to: 301 Redirect /category/ to /customname/

I've changed our "category base" in WP settings from the default "category" to "customname". Now there are 404 errors to links containing the old category slug eg. mysite.com/category/names What do ...
1
vote
3answers
1k views

Front end user creation form! How do you keep the user on the same page in event of error?

I've recently tried to add a user registration form to the front end of my site and have used the following form code (based upon this I discovered in an answer by maugly in question Front-end ...
0
votes
2answers
401 views

Wordpress 3.0 Multisite - Child sites and backends appearing blank

I've just installed wordpress on our Rackspace server - I've set wordpress up for Multisite as I have done many times before. The main wordpress site at the root functions fine - however when I add a ...
0
votes
1answer
540 views

Subdomain redirect problem

Wordpress is installed my root directory(/root/). I have a subdomain(dammani.techbrij.com) and I want to access some files of main domain from sub domain. I have done following thing: include_once('/...
0
votes
1answer
332 views

Date based redirects of posts that no longer exist

I want a more elegant way to express the following redirect: RewriteCond %{REQUEST_URI} ^/blog/2008/(.*) [NC, OR] RewriteCond %{REQUEST_URI} ^/blog/2009/01/(.*) [NC, OR] RewriteCond %{REQUEST_URI} ^/...
1
vote
3answers
3k views

Redirect users on logout

Have multisite set up and would like to redirect users on logout to the root site home page. I know there has to be an answer for this. But I can't find it! driving me batty;-) Any help greatly ...
0
votes
1answer
288 views

Add new post redirection [closed]

I don't know whats wrong going on with my website, this is the second redirection problem going on, Whenever I add a new post, After adding title, When I try to add the content, My own websites home-...
0
votes
1answer
3k views

Redirecting to home-page when saving any edited code

Whenever I edit any theme code in my Dashboard -> Appearance -> Editor and try to save it, the file is not saved and it automatically redirects me to the homepage. I don't know why is this happening. ...
0
votes
1answer
1k views

Redirect User on Login based on role WP 3 - Multi-Site

I need to have users land on a specific admin page based on user role in WP 3.0 multi-site enabled. I found this function fb_redirect_2() { if ( preg_match('#wp-admin/?(index.php)?$#', $_SERVER[...
0
votes
1answer
2k views

Wordpress overriding actual subdirectories

I have a site driven by Wordpress and a few custom directories that I've got at the top level. Some of these top-level directories work and the content inside of them are being read as expected. ...
1
vote
3answers
1k views

404 regular-expression advice needed

I have been working hard trying to understand regular-expressions to use in my web site using the redirection plugin. I have changed my permalinks a few times in the past year because I did not know ...
6
votes
2answers
11k views

Making a plugin file accessible via url rewrite?

In my WordPress plugin I have a php file that generates some stats about the blog and outputs it as a simple text file. To access WordPress functions I've included this at the top of the file: define(...
0
votes
3answers
471 views

Blog keeps redirecting to the contact page

I just added a new contact page on my blog, and I use the Contact Form 7 plugin. For some reason, when I go to my blog now, it constantly redirects to the new contact page! I looked at .htaccess files ...
1
vote
3answers
3k views

Redirecting user after updating profile?

I have been working around with adding stuff in user profile edit area. I am done with that but there is one thing I am unable to sort out. What I am planning to do is to redirect a user to a custom ...
3
votes
2answers
759 views

W3 Total Cache Plugin with WP 3 MultiUser [closed]

I'm having some strange behavior with my W3 Total Cache solution working on my multi-user Wordpress 3 installation. The multi-user is setup to use sub directories, and I'm using all types of caching ...
0
votes
2answers
3k views

Moving an ASP Site to Wordpress - Looking for Help on Redirects

I am in the process of moving a site made up of asp pages to a completely redesigned Wordpress site. It has come time to create the 301 redirects for those old pages, so I don't break any links that ...
2
votes
2answers
10k views

Domain redirect in Wordpress multisite

I have two domains www.domain1.com and www.domain2.com, both pointing to the same host. What I want to do is redirect www.domain2.com to www.domain1.com/domain2. I got this code for a .htaccess from ...
1
vote
1answer
373 views

redirecting from a general category page to another specific one

can anyone tell me what's the best way to redirect a general category page to a specific one? for example: categoryName1 -> subcategoryName1 -> subCategoryName2 -&...
1
vote
1answer
600 views

Redirect homepage ( www.sitename.com ) to the latest post

I'm just wondering how I would go about redirecting to the latest post when you go to the web site? Similar to http://gregorywood.co.uk/ Many thanks :) Suleiman
0
votes
1answer
2k views

Change url of page according to my requirements in wordpress

I am facing problem with change permalink actually I am using Redirection plugin you can see this plugin from here. http://wordpress.org/extend/plugins/redirection/ I have installed this plugin ...
0
votes
1answer
4k views

Removing Automatic Redirects Without Plugin

I've been working on a wordpress site and run into the automatic redirect feature when you change a slug. On the current site I am using the Redirects plugin, and was able to modify the redirects so ...
2
votes
2answers
1k views

How to let a single post have its own domain name

I am not sure which solution here would work best as a solution but what I am looking for is just a simple way to enter an optional domain through a metabox on the page edit screen and then just ...
5
votes
3answers
6k views

Custom permalinks with NextGEN Gallery

i set my wordpress permlink to /%category%/%postname% now i'm using Nextgen Gallery so when i have a gallery in a page it will be something like /cat/page?gallery=10 i want to make it something like ...
4
votes
1answer
5k views

How to redirect after login, the working way?

I've tried everything: Peter's Login Redirect, Redirection, some unworking javascript hacks, routemap PHP Class (which is really impressive, but I'm not sure that's very useful in this case). I'm ...
2
votes
1answer
617 views

Redirects from Tumblr to new WP

I migrated a site from Tumblr to WordPress and was able to get all the content over (in pieces) using the FeedWordPress plugin. What I am now trying to do is get the old permalink structure to ...
0
votes
1answer
1k views

301 Redirects for posts, category, pages from original domain to sub-domain of multisite

I want to move my blog from its original domain (site1.com) to become a sub-domain on another domain which is a multisite installation (sub1.site2.com). I also want to change the permalink structure ...
1
vote
3answers
462 views

URL redirect problem

I have 2 pages in my wordpress 3.0.1 site with 2 urls www.mysite.co.uk/sub-page/child-of-sub-page/accommodation/ and www.mysite.co.uk/accommodation/ however any link in my site to www.mysite.co.uk/...
10
votes
2answers
13k views

My wordpress multisite homepage redirects to signup page

So I just setup my website fightify.com and as you will see, visitors are automatically redirected to a signup page, which shouldnt be happening. This only occurs if the domain is typed without the ...
8
votes
1answer
6k views

301 redirect instead of 404 when URL is a prefix of a post or page name?

hey all! i have an odd problem with URL routing. when i request a URL that doesn't exist, e.g. http://localhost/foo, wordpress correctly returns a 404. however, if that URL is a prefix of a post or ...
0
votes
1answer
282 views

What is the http://go2.wordpress.com/ redirect?

Hi I see a wordpress.com blog and on the latest post there is a redirect for the external links via "http://go2.wordpress.com/" redirect. This redirect is obfuscated - on hovering the link it displays ...