Tagged Questions

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
150 views

how to change the verification url of pie register plugin of wordpress?

how can I change the verification url of pie register plugin? when any user registers it send a verifiaction url like this " ...
0
votes
0answers
40 views

WP_rewrite static Page URLs

Just moved over from blogger to wordpress. To try and maintain old URLs, and respective comments etc I've changed the site URL in the wordpress settings to match the old blogger format which was ...
0
votes
2answers
76 views

page is not redirecting

I want to redirect to a page to my home page if there would be found only one post.I have tried below code but it is not working, i have also tried header("location:url"), but it is also not working. ...
0
votes
1answer
40 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.
1
vote
0answers
30 views

WP Rewrite issue

I'm trying to build this structure: for single page: www.example.com/london/restaurants/monrooe/ where: "london" is a query var "restaurants" is a category "monrooe" is the post name. How can ...
0
votes
0answers
56 views

Taxonomy to WordPress Permalinks of custom post type

I am searching days now for the answer how to add taxonomy to my custom post type permalink. I've found this article which almost exactly gives the answer but it doesn't work for my custom post type. ...
0
votes
1answer
67 views

Archive page for custom post type and custom taxonomy

I've made a custom post type book and a custom taxonomy book_category. I've been trying to create an archive page where the books belonging to a particular category can be viewed. So far I've only ...
0
votes
0answers
92 views

Removing top-level pages from URL

The pages (not posts) on my site follow a hierarchical structure, where top-level pages have no content and are only used to group the lower-level pages in categories. That way, the page us has no ...
0
votes
0answers
196 views

translate iframe content- transposh filter

I am using transposh plugin to translate content. Its working fine but it is not able to translate iframe content. I want to show content of another site or remote url. I just want to translate these ...
0
votes
1answer
47 views

Wordpress comment for virtual page

How to create separate comment section for all the virtual pages? Is this even possible? Do I have to create separate table to store the comments and do all the work myself or is there any ...
-1
votes
1answer
54 views

How can I output completely custom content with plugin while still having header, footer, sidebar etc [closed]

What I want to do is make some url rewrites that will be handled by classes in my plugin. When one of these urls is matched I want to hit an external api and then put out custom html with the content ...
0
votes
0answers
19 views

Wordpress comment for URL rewritten pages

I am rewriting URL like this product/product-category-name/product-name Here product is the real wordpress page, the rest are generated by database query. So, there is only one comment section which ...
0
votes
0answers
161 views

flush_rewrite_rules vs $wp_rewrite->flush_rules

I have been trying to flush the rewrite rules whenever admin chooses to change some value which needs rewriting. I first tried flush_rewrite_rules(true)(hard flush) which didn't work. Then I tried ...
1
vote
2answers
267 views

Filter to change the content of 404 page

I have created custom rewrite rules. These rules now go to 404 page as expected. I can use action hook template_redirect to change the template matching query_var. But I don't want to create separate ...
1
vote
1answer
412 views

Custom rewrite rule for backend/admin?

I would like to create a custom rewrite rule that will take the URL: http://domain/submit-project/add but display http://domain/wp/wp-admin/post-new.php?post_type=project Is there any way to do ...
0
votes
0answers
42 views

How to put a Custom Folder under one sub-site of Multisite WP?

I have a multisite wordpress and i'm now trying to have a custom directory under 1 of the sites of the multisite. Example: http://apple.example.com http://banana.example.com/myfolder ...
2
votes
0answers
83 views

web.config conflict on IIS

folder structure docroot |- wordpress |- web.config |- wp-content |- japi |- index.php \- web.config ... ... As you can see there are 2 web.config ...
0
votes
0answers
43 views

How to add taxonomy into URL of single custom post type

I have the following url of each custom post type Portfolio/titleofcustomposttype Portfolio/othertitleofcustomposttype But, i have already taxonomy for each post, and i want it to be displayed in ...
0
votes
0answers
121 views

WP redirects pretty permalink to query string

I have a custom post type artist and a taxonomy kind_of_art. I want their permalinks to be like: %kind_of_art%/%artist% Therefore I created following rewrite rules: add_rewrite_rule( ...
3
votes
1answer
122 views

Prepend meta_value to permalink of post

I have 2 custom post types movies (non-hierarchical) and series(hierarchical). Each post from seriestype has a meta field _movie which contains a movie ID. I want to specify a custom permalink ...
4
votes
4answers
323 views

Update URL Snippet to Canonical Permalink URL

My permalinks is in the format domain.com/post-id/post-slug I notice this is a great choice for permalinks as I can share articles with a short URL like domain.com/123 But when I go to this short ...
0
votes
0answers
34 views

Using a default CPT archive slug as a page and using a different URL for the archive

I want to have a custom post type whose "slug" also shares the name on a core page. Basically because I want to give said page more custom look and look nothing like an archive (it don't need ...
0
votes
0answers
99 views

URL Rewrite breaks pagination on some permalink structures

i created some rewrite rules for my profile page with multiple tabs. Member and tab names are passed via url to the page template. Everything works fine except for the pagination. When a permalink ...
1
vote
1answer
94 views

Is a permastruct possible on pages?

Since a couple of weeks I'm trying to create my own rewritings on pages. I read a lot about rewriting with posts and custom post-types. BUT: I have pages that I call with variables. How is it ...
0
votes
1answer
31 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
0answers
48 views

Permalinks not working when bootstrapping from parent directory

I am trying to use WordPress from a subdirectory but access it from its parent. This is on order to try Capistrano deploys. I have the following directory structure index.php .htaccess /wordpress ...
0
votes
0answers
142 views

url_to_postid redirected posts

i wanna url_to_postid some urls, it work pretty fine but when it come to auto-redirected posts it fail to return postid. here is my example urls: http://animup.net/anime/kuroko-no-basket-2/ auto ...
2
votes
1answer
500 views

How to get pretty URLs with add_query_arg in permalinks

With add_query_arg() it is nice to add additional parameters to an URL and it is also easy to create a rewrite rule. So far so good. But the problem is the URL replacement done by wordpress. When I ...
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
2answers
37 views

Change /search to /somethingelse

How do I change the search url? I already have something like: /search/keyword But I want to change /search to something else. How can I do it? Thank you!
1
vote
2answers
64 views

Changing Permalinks for Default Post type to reflect navigation

I have a particular issue with setting the permalink structure for "posts" on my website. Right now, I have the default "posts" page living under www.mywebsite.com/news-events/current-news/ I'd like ...
2
votes
1answer
81 views

Multisite wordpress and subdomain URL collisions

I have a multisite WordPress installed on a server using a domain, site.com and I have a subdomain setup in WordPress, so subsites are at sub1.site.com, sub2.site.com etc. In addition to this, the ...
0
votes
0answers
21 views

Rewrite rules for custom post type with another custom post as post parent

I have 2 hierarchical custom post types sale and lot. Each lot belongs to a single sale (the sale ID is used in post_parent. I need URLs like website.com/sale/sale_name/lot/lot_name. So far I have ...
0
votes
0answers
200 views

Custom URL structure with external web service

I have WordPress site which displays content from database, but I also want to consume .NET web service hosted on the Windows Azure and fit the content inside the WordPress. URL structure of ...
0
votes
1answer
39 views

Editing the variables in a custom URL

I have an existing page in a custom theme that expects a URL in this form: /story?user=1 but I'd like to be able to use better URLs as well, eg: /story/username. I've tried to add a rewrite rule in ...
0
votes
0answers
50 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
271 views

Multiple Permalinks for Same Post

I'd like to be able to have multiple permalinks for the same underlying post (for i18n reasons) - eg http://www.example.com/my-custom-post-type/this-is-a-cool-article ...
0
votes
0answers
23 views

How to do an URL rewrite

I'm trying to rewrite my URL structure. I want to delete the parents in my URL. So for example www.test.com/parent1/child should become www.test.com / child and www.test.com/parent1/parent2/ should be ...
0
votes
1answer
114 views

Custom Post Type Rewrite Rule

My theme uses the following code: 'rewrite' => array('slug' => $this->safe_name . '-detail'), which produces this slug: http://www.example.com/estate-detail/4-bedroom-property-for-sale/ ...
0
votes
0answers
27 views

Rewrite custom taxonomy URL

I am trying to rewrite a custom taxonomy URL, here is my taxonomy: register_taxonomy('cpt_category', array('cpt'), array( 'hierarchical' => true, 'labels' => $cpt_labels, 'rewrite' ...
0
votes
2answers
284 views

Rewrite rule shows 404 page

I am new to Wordpress so I don't really know how the rewrite rules should look like. My problem is that I have a custom template in my theme called portfolio-inner.php My rule looks something like ...
0
votes
1answer
282 views

URL Rewriting from a Plugin based on custom values

I am developing a plugin where Admin can integrate the plugin to a page where newly added products will be shown.. So, let's say user add the plugin to a page named my-page. So, the main content of ...
1
vote
1answer
77 views

Using WP Rewrite, but just not “getting it”

I'm trying to use WP Rewrite to avoid having to enter anything into an htaccess file. So far, I have this one working just fine (it loads a post from a Custom Post Type): $leader_structure = ...
0
votes
0answers
117 views

Wordpress Landing Page Redirection Issue

This might be a basic issue but I did not know the keywords to search it with. I am working on a Wordpress site. The landing page has the following url: http://www.abc.com/home/ But when I visit ...
0
votes
0answers
37 views

Pass url part as argument to shortcode

I have a page /most-commented which lists all articles which have most number of comments. The list is generated by a shortcode. I want to add year-wise top commented articles so URL should look ...
0
votes
0answers
89 views

Modify / Rewrite single template url structure

Is it possible to add the post category name to the the WordPress single template url structure if i am not using category pages to build the site menu? from www.domain.com/single-post-title to ...
0
votes
1answer
37 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
0answers
129 views

get_permalink() with wp_rewrite giving wrong permalink?

I have two custom post types: news and special, each would require ID within the url, like example.com/news/ID or example.com/special/ID. Since wordpress's custom post type always have post title in ...
0
votes
0answers
19 views

How can I get rid off url pagination?

I use to paginate my posts but a few day ago I decided to quit split posts in more that one page. But the old links to the secondary pages are still crowlable by the google because they still work. I ...
0
votes
1answer
34 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 ...