Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"

learn more… | top users | synonyms (1)

0
votes
1answer
38 views

add_rewrite_rule not working for me

I have the following rewrite tags defined: // ADD REWRITE TAG FOR 'VEHICLE MAKES' add_rewrite_tag('%make%','([^&]+)'); // ADD REWRITE TAG FOR 'BODY STYLES' ...
0
votes
1answer
24 views

Using 2 URL's for Wordpress

I have a Problem, that my internal company blog should be visible via 2 URL's. One internal and one external. Now I would need to rewrite URL's before content is delivered to the browser. All URL's ...
0
votes
1answer
25 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
35 views

Apache rewrite rules and wordpress problem

I tried to fix my problem by using wordpress rewrite rules but sadly it took me so long I tried this approach. I got it working for one of my simpler problems but now I can't get it to work for my two ...
0
votes
1answer
65 views

Change custom post type slug from plugin options

I'd like to give users the option to change a custom post type slug in my plugin. Using this answer, I'm able to hardcode it into a function: Redeclare/Change Slug of a Plugin's Custom Post Type ...
0
votes
1answer
41 views

Rewrite Question

I'm having troubles with creating my rewrite. I've been searching here (and other sites) for an example, but so far, no luck. My testing site is: ...
0
votes
1answer
76 views

Wordpress URL rewrite problem

blog.com/product/somename In the above URL - how do I tell Wordpress that 'product' is a variable and 'somename' is its value. Then how do I extract that value and use it inside a function I'll ...
0
votes
1answer
41 views

Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?

I was developing this WP site using WAMP at work, and now suddenly we're switching it up and putting it on a Windows server (2003). I can tell from the Permalinks Settings page in wp-admin that it ...
0
votes
1answer
34 views

Pagination 404 Not Found child page

I have a page Heemtijdinghen displaying custom posts (post_type=artikel) paginated. The page is a child page of page Publicaties: /publicaties/heemtijdinghen/ When navigating to e.g. page 2 a 404 Not ...
0
votes
1answer
26 views

How to stop Wordpress creating URLs that dont exisit

I have a website that is constantly created URLS that don't exist. For example a category section that only has 2 pages in it, for some reason is allowing the creation of other URLS - see below eg: ...
0
votes
1answer
26 views

Customize category permalinks

How can I generate URLs like http://example.com/blog/category/Test/? Currently, I have http://example.com/category/blog/Test/.
0
votes
1answer
24 views

How to change the url?

How to rewrite the url in wordpress? Instead of http://yapkimyks.com/product-list/astarlar/ it should be http://yapkimyks.com/product-list/yapbond/astarlar/ where, yapbond is main category name ...
0
votes
1answer
27 views

Change the search URL

How can I change the search URL from /?s=my-word to /busca/?s=my-word ? I know how to change to /busca/my-word, but I really need the "s" parameter. Thanks.
0
votes
1answer
28 views

Customize category URL

I've searched around and have not found the answers im looking for. By default I have: example.com/blog (blog archive) example.com/blog/entry (single entry) example.com/blog/category/announcements ...
0
votes
1answer
70 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
1answer
29 views

Simple URL rewriting gone wrong

I have this .htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteRule ^feed/sejururi\.xml$ /feed/ [L,NC] RewriteCond %{REQUEST_FILENAME} ...
0
votes
1answer
33 views

mysite.co.uk/wordpress redirects to mysite.co.uk?

I have seen many similar posts about similar problems, but they all seem to say delete the redirect plugin but the only plugin I have is google analytics. The site was working ok, but suddenly ...
0
votes
1answer
46 views

Custom slug in url for CPT and taxonomy

I want to add a custom slug to permalink for CPT and taxonomy. Like this: http://mydomain.com/my-custom-slug/post-slug http://mydomain.com/my-custom-slug/product_category Here is my CPT and ...
0
votes
1answer
86 views

Get content from other database table based on an ID and rewrite URL

I am currently using WordPress with SEO friendly permalinks. One page of my website is a special one though, let's call it http://example.org/locales. It is using a custom page template that loads ...
0
votes
1answer
51 views

Losing the original URL when using add_rewrite_rule

I'm attempting to implement a rewrite rule so I can introduce a variable into my CPT's single page template. Basically I'm trying to include 'all' between my CPT's slug name of work and the category ...
0
votes
1answer
66 views

URL Rewriting if it is a single post / redirecting post - post type

I have a unique kind of question that I've been wrapping my brain around. Google is penalizing us with duplicate content because you can access our single blog posts both by going to: ...
0
votes
1answer
110 views

Rewrite Rule & Regex - Extract 'cat-name' and 'page-number' from http://domain.com/custom-post-type/category/cat-name/page/page-number

I have an URL formatted so: http://domain.com/custom-post-type/category/cat-name/page/page-number I need to extract: cat-name and page-number So that in my functions.php, I can create the custom ...
0
votes
1answer
190 views

How to Create a Mod_Rewrite/Regex Rule to Redirect Requests old URLs to Their Updated Link Structure

Here goes... How would I create a mod_rewrite rule to that will redirect a variety of possible URL requests to their updated URL counter parts. We are migrating and old site to a CMS with a ...
0
votes
1answer
167 views

How to use if($wp_query->query_vars['name'] == 'pagethatdontexist') without getting a 404? How to suppress 404

i want to do something if my url is /pagethatdontexist But I dont want wp sending 404 headers. I tried this: add_action('wp', array($this,'awp')); function awp(){ global $wp_query ; ...
0
votes
1answer
74 views

Remove subfolders from URL

I am having a tough time removing the subfolders from the URL in my WordPress site. Currently, the URL format is: www.mysite.com/subfolder/index.php/category/postname I would like to remove both the ...
0
votes
1answer
260 views

Permalinks for Taxonomy and Custom Post Type

Have the following situation here: Custom post type: 'recipes' Taxonomy for custom post type 'recipes': 'receitas' One of the taxonomies slug: 'receitas-whoopie-pie' The permalink structure MUST be: ...
0
votes
1answer
66 views

Custom permalink variable on single post

I'm trying rewrite url for permalink on single post my permalink: /%postname%/ My single form: http://example.com/abc-def/?chapter=1 adc-def mean: %postname% i want permalink is: ...
0
votes
1answer
56 views

Why is a rewrite rule in wordpress prevent pagination?

I have a custom page that uses a rewrite rule. The "non-pagination" rewrite works fine: add_rewrite_rule( '^brand-list/([^/]*)/([^/]*)/?', ...
0
votes
1answer
20 views

2nd and 3rd Custom Post Type URL's 404ing

My first CPT saves its URL's exactly as expected. However, I have worked for 2 days on getting my second and third Custom Post Type URL'S to rewrite correctly. They do in fact save as expected in ...
0
votes
1answer
431 views

How to rename the WordPress wp-login.php running on IIS6?

My Windows 2003 VPS recently hang due to bots hammering my WordPress login php non-stop for hours (determined from IIS6 logs). This caused MySQL to use up all the allocated 1G RAM. After resetting ...
0
votes
1answer
94 views

Custom Permalinks for Custom Post Types and Taxonomies

I've been struggling with this for hours. I'm trying to get this URL structure: example.com/business/%custom-tax-name%/%custom-post-name%/ By custom tax name I don't mean the name of the taxonomy ...
0
votes
1answer
49 views

Wordpress Custom Rewrite Rule

I have a custom page template to use for a wordpress page. I am trying to setup a custom rewrite rule but without success. I have a page at blog/book-page/, the display of this page depends on the ...
0
votes
1answer
138 views

Getting URL Variables with a Rewritten Page (Login Page)

As part of a larger project, I am attempting all login activity to occur at the following address: www.url.com/login So, a link that should lead to a form that would allow a user to reset their ...
0
votes
1answer
34 views

Difference in Get Variable Location

I have noticed that in some instances in WordPress (such as in my custom post types), GET variables appear as following in the URL: www.url.com/events/cool-event?action=edit&message=1 However, ...
0
votes
1answer
319 views

Wordpress Rewrites - How can I pass a variable to Custom Post Type?

I'm looking for a wordpress rewrite that will let me pass a query var. I have a custom post type that produces urls like this: example.com/custom-post-slug/custom-post-title/ my goal is to have ...
0
votes
1answer
123 views

Per Page Permalink Structure for Page Post Type

I am trying to Re-Write Page URL's so that they END with .htm I was able to do this using... /* Add .htm extension to Page URL Links */ add_action('init', 'htm_page_permalink', -1); function ...
0
votes
1answer
104 views

How to change pagination base from slash to query form?

Can this function... function custom_pagination_base() { global $wp_rewrite; $wp_rewrite->pagination_base = 'p'; $wp_rewrite->flush_rules(); } add_action( 'init', 'custom_pagination_base' ); ...
0
votes
1answer
119 views

Custom post type and custom taxonomy archive inaccessible

I've created some custom post type let say: post_type_1 post_type_2 Those post types are related to each other, every post_type_1 has parent of many post_type_2. Then I created a custom taxonomy ...
0
votes
1answer
37 views

how rewrite is working in wordpress

I have installed a plugin called marketpress. And it have a url as http://www.mydomain.com/store/shopping-cart/shipping/ Now i just want to know which php page it refers to. In my db and found ...
0
votes
1answer
63 views

Need Help With A Rewrite Issue

On the site im getting this "mysitehere.com/pro/my-everyday/?auth=my%20author%20title" I would love to have it like "mysitehere.com/pro/my-everyday/my-author-title" I have looked around and found ...
0
votes
1answer
62 views

Rewwrite rule for mapping plugin static file

I am thinking to move my static data to Amazon cloudefront and i am able to map all static data with the URL from the cloudefront except Plugins i have installed. I do not want to use any plugin to ...
0
votes
1answer
79 views

Generate daily archive whenever any post type is added

We have an issue with our date archive in WordPress, where our daily archive (example address www.xxx.com/2013/01/09) is only generated when a post from the default post type is added. Any day where a ...
0
votes
1answer
141 views

Rewrite and replace url wp-admin/edit.php and wp-admin/post-new.php

everybody I want to rewrite and replace all url mydomain.com/wp-admin/edit.php -> mydomain.com/wp-admin/edit/ and mydomain.com/wp-admin/post-new.php -> mydomain.com/wp-admin/addnewpost/ How i ...
0
votes
1answer
69 views

Function to rewrite URl in Wordpress

I need to rewrte this URL http://example.com/news/?news_id=2 to http://example.com/news/2 where news is the page and 2 is the news_id I have added following code in functions.php: function ...
0
votes
1answer
78 views

URL Redirect in Wordpress

I am facing problem to redirect some url in wordpress. I need to rewrite following URL: First URL is like this: http://example.com/news/?news=2 where news=2 is the news id and I am getting this id by ...
0
votes
1answer
787 views

Rewrite rules for custom posts types

So I created a new post type 'quote'. Basically I want to change all quotes URLs to domain.com/quotes/ID since as it as right now (/?quote={xxx}) could get pretty long, and since this post type is ...
0
votes
1answer
55 views

Overwrite URL on blog posts

I would like to overwrite my URL on single blog posts. At the moment my posts are displaying as www.mydomain.co.uk/post-title, however I would like them to be as www.mydomain.co.uk/blog/post-title ...
0
votes
1answer
76 views

Rewrite URL variable to custom path

I am passing to my url some variables to display latest posts, most viewed etc. http://website.com/?r_sortby=highest_rated I am wondering how to create a custom path for it instead for SEO purpose ...
0
votes
1answer
75 views

Creating a page for custom taxonomy archive

I have a custom taxonomy called 'news'. Inside it I have two categories called 'news-releases' and 'competition-news'. Going to 'mydomain.com/news/competition-news' gives the expected result and ...
0
votes
1answer
33 views

How can you preserve URLs when moving posts to a custom post type?

I am working on a site where they want to break up the content into custom post types (right now everything is broken up by post categories) but they want to be able to save their URLs to preserve ...