0
votes
1answer
25 views

All pages lead to home

I've recently moved from linux to windows hosting, and now all of my permalinks just redirect to the homepage. I've selected the correct structure in Settings->Permalinks and have the following in my ...
0
votes
2answers
27 views

How to create short urls for sharing and downloadable content?

I want to create something similar to "youtube.com/long => youtu.be/short" for my wordpress blog/portfolio/freebie site: "magicshrooms.com/%cat-etc => mgcsr.mz/link-name ". Generally, I want to create ...
0
votes
1answer
114 views

Redirect A URL Pattern In WordPress Using .htaccess

I am new to WordPress and just converted from Blogger to WordPress. Now as you know that Blogger URLs are too different from WordPress URLs so after migrating I started receiving 404 error in Google ...
1
vote
1answer
51 views

How do I add a add_rewrite_rule without it redirecting?

I have a custom post type called "locations". I have a location called "starbucks". I can view this by going to "/location/starbucks". I would like to add "coffee-shop" to the URL, so the path ...
1
vote
1answer
30 views

expecting 404 but redirecting to post with url subdirectory in post title

I'm seeing something unexpected, although I'm not sure whether it's a feature I can disable or whether it is something introduced by the custom theme I'm using that I need to track down. If I enter a ...
0
votes
0answers
53 views

URLs ending with number higher than 2147483647 redirects to to domain.com/2147483647

I've got a javascript implented on my Wordpress site with the purpose to the substring of the URL and if it matches some criteria, it'll load a specific piece of content. So, if you input this URL ...
0
votes
1answer
62 views

URL redirect on updating the post date

I updated the date in the post. But the old URL has already gone viral and people end up in a deadlink as "page not found". I tried using Simple 301 Redirect WordPress Plugin and also Permalink ...
0
votes
1answer
19 views

Re-directing URLs with dates to URLs without dates

When I first started writing entries I decided to include the month and day in the URL's, thinking I might need them. In the end turns out I didn't. I found that I can access a particular entry as ...
1
vote
1answer
142 views

Migration from old CMS to WordPress 301 redirection rules?

I need 301 redirection rule for migrating old CMS to WordPress. On old CMS I have URL structure like this: I wish is to move my site to WordPress and to have all old (or most) URLs with 301 redirect ...
0
votes
0answers
60 views

Custom URL rewrite rule for migrating to WordPress

I am trying to move my image gallery site from one CMS to Wordpress. On current CMS I have page with medium size image on it with URL: ...
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 ...
0
votes
0answers
47 views

How can I redirect all wordpress tag subdirectory (subfolder) to another one (archives/tag)

I changed my permalinks and it working fine but I need to redirect old tag folder to archives/tag to not lose links which google indexed below is my .htaccess file in the root of my recipes site ...
1
vote
1answer
141 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 ...
0
votes
1answer
190 views

A change in URL slug in database returns 404, how can I do auto-redirect?

I have a huge blog with over 10K posts and a lot of posts with some adult keywords in titles, urls, content and tags. I am trying to remove all adult ones with "search and replace" plugin. It works ...
2
votes
1answer
51 views

Is there a 'rake routes' for wordpress?

Is there an equivalent to 'rake routes' in php/wordpress that would spit out all the available wordpress url paths available?
0
votes
1answer
41 views

How to force load a page in plugin?

I have a plugin which do very simple task... if ( $_SERVER["REQUEST_URI"] === '/foo' ) { // How to display the content of page of ID = 3, without using wp_redirect() } So the url is staying at ...
1
vote
1answer
403 views

WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)

I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php I've been looking at the core code and noticed that most login ...
1
vote
1answer
52 views

Multiple URLS per post non-ascii

I am looking for some best practice / practical advise on a particular URL use case. I am finding myself using a lot of non-ASCII characters in my URLs. This doesn't really make it easy for users of ...
0
votes
1answer
117 views

Rewrite vs Redirect from ?p={ID}

WordPress does a 301 from http://example.com/?p=100 to http://example.com/post-title/, but I thought a URL rewrite was different from a redirect and therefore this wouldn't result in a 301. Can ...
1
vote
1answer
126 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
2answers
79 views

Is Wordpress API visible from PHP file called in htaccess

I'm trying to add some rewriterules in the .htaccess file to deal with hotlinked images - specifically I want to add the URL from the post where the image appeared to the header location information ...
5
votes
1answer
2k views

Custom post type yearly/ monthly archive permalinks

I have a custom post type "news" in my Wordpress site. I am using Advanced Custom Fields plugin to add meta data to each post. I want to create an array of news items as an archive: [2013] ...
0
votes
1answer
603 views

How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?

I created a thread (How to make www. and no www. Go to same site, for all sites?) in the support forums for the WordPress plugin: WordPress MU Domain Mapping. Everything is fine and dandy. I have a ...
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 ...
4
votes
1answer
591 views

Add forward slash on categories url (serve one version of a url)

How can I a add forward slash on categories URLs and serve only that version of a category (meaning URLs not ending in forward-slash will redirect to URLs ending in forward slash). I manage to remove ...
0
votes
2answers
3k views

How to disable the default WordPress redirect to non-www URLs?

I am trying to redirect all non-www to www URLs in my WordPress MultiSite install. I am using a simple .htaccess rule like this: # Redirect non-www to www: RewriteCond %{HTTP_HOST} !^www\. [NC] ...
0
votes
2answers
954 views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
1answer
255 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 ...
0
votes
1answer
208 views

How to configure Multisite Network with randomized hostnames?

I'm trying to convert a freshly-installed and functional WordPress into a multisite network. But I'm having problems because of our Apache configuration. We use Apache to randomly redirect requests ...
3
votes
1answer
247 views

Sub domain redirection to taxonomy

Hi all I want to use sub domain for my taxonomy like that : http://taxonomy.domain.com/apple map to http://www.domain.com/taxonomy/apple I add this to my vhost RewriteCond %{HTTP_HOST} ...
0
votes
1answer
678 views

Changes done to .htaccess are not getting reverted back

I am new to WordPress and playing around with it to get some idea about its working. I have done some changes to WordPress' .htaccess file to add some redirection and that worked perfectly fine. Now ...
1
vote
2answers
180 views

How to redirect a link to a new link?

I am about to change the slug for my page's permalink. Since I dont want to loose the traffic, i would like to redirect the visitors to the new more SEo friendly link. Can I achieve this with the ...
1
vote
3answers
632 views

flush_rewrite_rules not working on plugin deactivation, invalid URLs not showing 404

i'm just about to release a community plug-in and have a few last anoying issues. First, whenever i visit a page that would not be valid for the plugin, www.mydomain.com/forms/tester it will take me ...
0
votes
2answers
256 views

How are rewrite rules applied in WordPress?

How are rewrite rules applied in WordPress? I don't see any rules in the .htaccess file... For example, if I set the address URL to www.example.com, then calls to example.com will 301 redirect to ...
1
vote
1answer
357 views

Wordpress removes spaces in URL on pagination

I'm having a problem with wordpress rewriting my URLs, basically I have a regular search form with method set as GET, when I submit it the URL looks like this at first: ...
0
votes
2answers
2k views

301 Redirect all posts urls from .html to / (without .html)

How can i redirect all posts permalinks from .html to / ,in Wordpress ? now all my posts url are ending in / ,but before it was with .html to be more clear ,for example a post url like this ...
1
vote
1answer
1k views

add_rewrite_rule: $matches var not replaced by captured value

I want to access a plugin file (when <a> is clicked) without exposing actual path of the file. I am using the following rewrite rule: add_rewrite_rule( 'continue/([0-9]+)/?$', ...
1
vote
4answers
1k views

Redirecting when changing custom post type slugs?

I changed the name of two of my custom post types. The original slugs for them did not properly reflect the post type. So I need to redirect requests for posts beginning with designer_lingerie (the ...
6
votes
2answers
1k views

How does WordPress handle permalinks?

WordPress auto corrects the permalinks(URLs) even if it is entered incorrectly. For e.g. WordPress will land you in example.com/some-post even if you enter example.com/idontexist/some-post or even ...
1
vote
1answer
801 views

Can I change default registration link (without htaccess)?

I'm using url like «wp-login.php?action=register&role=patient» and «register_form» hook for add extra inputs form which depends on urls like this: ...
0
votes
1answer
304 views

Wordpress 3.1.2 Network Enabled non-www to www

OK so i am drawing a blank. I have setup a WordPress 3.1.2 Network site and want the main site to appear with www.mydomain.com not mydomain.com and i can get that to work but the back-end on the ...
0
votes
1answer
630 views

Redirecting all old links from previous EE site to new WP site in one go?

I'm about to migrate from an old Expression Engine website to a new WordPress site on the same domain. Is there anything I should be aware of with respects to redirecting old links? The old site is ...
0
votes
1answer
675 views

Redirect Problems with Archive Page and GET variables

I'm having an issue with a third party plugin called WP-Calendar, where clicking on the "next" and "prev" links in a small calendar results in a redirect error. This problem only appears to be ...
1
vote
2answers
2k views

URL rewrite based on a custom field value

I'm working on a migration from another CMS to WordPress. The old site had terrible SEO-unfriendly URLs in the format http://example.com?lid=1234. We have imported all the posts from the old site ...
2
votes
2answers
878 views

Preventing index.php?category_name=something from redirecting

I'm trying to filter posts in a category by the year of the post's date. I also want to do this without being redirected to the year template so my ideal URL would be ...
2
votes
6answers
3k 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
2answers
2k 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/, ...
0
votes
1answer
375 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 ...
3
votes
2answers
3k 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: ...
5
votes
3answers
4k 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 ...