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)

1
vote
2answers
488 views

WordPress Page Id

I have a client (same for my previous post about the slider) who believes that the url structure needs to include a "google page id" to be compliant with google news. Therefore, they want the url ...
6
votes
1answer
2k views

Pretty permalinks for search results with extra query var

I'd like to know how I can rewrite a search URL that also contains an extra query var into a pretty permalink using wp_redirect and the template_redirect hook. I have taken the code from the Nice ...
1
vote
1answer
466 views

Is sanitize_title_with_dashes formatting function too liberal (in terms of accepted characters)?

sanitize_title_with_dashes (see code below for reference) is the function Wordpress uses to format "pretty" urls. However, contrary to the function's comment header, it allows much more than ...
0
votes
1answer
182 views

Adding Theme File for Non-Wordpress Content

I have a third party events plugin that uses custom tables in the database. I have created a theme file (event.php) that pulls the data in based on a slug that is ideally given in the URL. I want to ...
3
votes
1answer
239 views

Custom comments

I'm trying to create a custom comments page with pagination. I have non-hierarchical custom type "apartments". It makes urls like: /apartments/ - for acrhive /apartments/%id%/ - for post page ...
0
votes
3answers
2k views

Pretty URLs or permalinks for attachments

Theres a way to convert links like: http://www.localhost.lh/?attachment_id=41 into: http://www.localhost.lh/attachment/id or: http://www.localhost.lh/author/attachment/id
0
votes
1answer
595 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
2answers
439 views

Url rewrite with htaccess

I've just updated a website that used .php urls, to a Wordpress 3.1 site, that uses no file type extentions, (custom permalinks). They have a lot of references in their imported content to an old ...
1
vote
1answer
862 views

Use the plus sign “+” instead of dash “-” in URLs

Is it possible to use the plus sign instead of the dash as the word delimiter in the url? And if so, how exactly would that be done? e.g.: www.example.com/some-title/ becomes ...
0
votes
1answer
822 views

Change URL for Blog?

Using WP 3.1.1 as a CMS, using the Boldy theme. Home page is at http://www.dekho.com.au Advantage of using this theme, is that it comes setup with a homepage that has a gallery slider and some ...
3
votes
3answers
461 views

Custom permalinks

We have a custom type music. /music/ /music/post-name/ Also, we have a tag-like taxonomy genres. Its urls are: /music-genres/genre-name/ I'm trying to make urls like: /music/ /music/post-name/ ...
1
vote
1answer
1k views

Sorting archive pages with “pretty” URLs?

We want the users to re-order the posts on a page similar to pagination but I can't find anything anywhere! It would be great to create a link to a url similar to .../page/2/title/, title being the ...
3
votes
1answer
2k views

How to show the same content on multiple URLs?

A client currently has a website set up with three distinct sub-sites (run off a single WordPress install), each with a slightly different theme (same layout, different colour scheme. I currently ...
2
votes
1answer
646 views

Nice RSS Feed URLs for each custom post type

By default WP seems to display all posts of all types in the main RSS feed. You have to add a post_type query variable to show post of a certain type... So how can I turn this: ...
2
votes
1answer
480 views

How to check current URL for endpoint in a template file?

What's the best way to check current url for endpoint in a template file? I have a plugin that creates endpoints in author.php... so now i'm trying to check in author.php so that only certain code is ...
1
vote
2answers
382 views

How to create rewrite endpoints it in author.php?

i'm trying to separate categories/subcategories in author.php so they each have their own endpoint link. It's very similar to this question BUT for the life of me I can't enable the plugin provided: ...
0
votes
1answer
606 views

Separate page for comments using permalinks and add_rewrite_rule

I have been at this for days now, going through plenty of answers here, guides on using .htaccess, guides on using add_rewrite_rule() within Wordpress and examples throughout the web. I am not sure if ...
0
votes
1answer
615 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 ...
5
votes
1answer
3k views

Custom post type, no need for single view, plus want permalink rewrites that include hash in URI

We are using CPT's to manage a frequently asked questions page on a site, where the question is the post title and the answer is the post content. There is a main page for the FAQs that shows all ...
2
votes
2answers
836 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 ...
3
votes
1answer
2k views

Rewrite rules in .htaccess get overwritten?

I'm not able to make it work by adding custom rewrite rules into functions.php or adding custom permastructures either. I have this code in my .htaccess that is working fine. # BEGIN WordPress ...
2
votes
1answer
567 views

Custom rewrite rules for a $_GET request

Assuming I have this URL: http://site.com/?get=something How can I change it to a nice URL that looks like: http://site.com/get_something using WP's URL rewriting system?
3
votes
2answers
212 views

What is the best way to output plugin result in certain url

Knowing that wordpress doesn't follow MVC pattern. What is the best way in worpress to output plugin's result in a certain url. lets say I would like to show "hello world" in main area under ...
3
votes
2answers
642 views

Nice URLs for a Custom Post Type List with a Shared Custom Taxonomy?

(Moderator's note: Title was "Convert into nice URL a shared custom taxonomy URL with a query string value") I have a custom taxonomy template: taxonomy-country.php used by two (2) Custom Post Types: ...
3
votes
2answers
2k views

Custom post type taxonomies URL rewrite

What I want to achieve is an online listing catalog with a URL like this: www.example.com/drawing-tools/brand/type/material/color/ In this example, I have a custom post type named "drawing-tools" ...
0
votes
1answer
742 views

How do I rewrite attachment urls when permalink structure contains %category%?

I'm trying to change the permalinks to my attachments in the same way as this question, and the given solution works great except for one problem: if the permalinks settings on my site contain ...
2
votes
2answers
260 views

Is the SEO plugin necessary?

I want to understand how wordpress is structured in the first place with regard to search engine friendliness. Isn't it set up for SEO by default? Is the SEO plugin necessary then? and to what extent ...
0
votes
1answer
275 views

restricting custom rewrite to just one custom post type

I am using the following code to create a short permalink for one of my custom post types. I have another cpt that I wish to just use the default permalink structure, so what would be the best way to ...
0
votes
2answers
792 views

Why is my mod_rewrite not working?

Ok I have a WP site using the permalink structure of /%category%/%postname%/ I have built it in the way of page templates, using category queries inside, i.e. page-help.php <?php $my_query = new ...
0
votes
1answer
174 views

URL renaming issue

I am a non programmer using a wordpress site (riyachting.com) I just discoverd that sending folks to my page with a URL that inlcudes some other stuff in it gets stripped out so only the URL of the ...
1
vote
4answers
2k views

How to change the main site url on a multisite installation (network)?

My multisite (network) installation has 3 sites. the main site (nothing there, just very brief information) client 1 site -- siteurl/client1 client 2 site -- siteurl/client2 With domain mapper, ...
16
votes
8answers
11k views

How do you create a “virtual” page in WordPress

I'm trying to create a custom API endpoint in WordPress, and I need to redirect requests to a virtual page in the root of WordPress to an actual page that ships with my plug-in. So basically, all ...
0
votes
3answers
2k views

How do I make page URLs look like “www.site.com/page” instead of “www.site.com/blog/page” but have post URLs stay “www.site.com/blog/post”?

I would like to make it so the URLs of my pages (created in the Wordpress dashboard) show up right after the domain name instead of after the blog directory. I have installed Wordpress in a ...
1
vote
2answers
686 views

Use WordPress' URL rewrite engine

I'm developing a web application with user submissions, i'm not too hot on mod-rewrite and was hoping there is a way to utilise WordPress' amazing rewrite engine and incorporate this somehow into my ...
0
votes
2answers
469 views

Permalink Problems

I am having a problem. I am running WP 3.05 with one custom taxonomy. Here is the code to create the taxonomy: function create_property_taxonomies() { // Add new taxonomy, make it hierarchical ...
2
votes
2answers
3k views

How do I rewrite a url to use %taxonomy% instead of %category% when multiple taxonomies are present?

I would like to have the option to use taxonomy in the url instead of only having category like "uncategorized." Note that I have multiple taxonomies (countries, states etc), some of which have ...
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 ...
1
vote
1answer
630 views

Pros and cons of using [taxonomy name] in place of [category name]?

We are currently in development on a new site. Categories (& tags) are pretty much meaningless for us because we've implemented custom posts & taxonomies. By default, because I have enabled ...
0
votes
1answer
2k views

Regex problem in an add_rewrite_rule

I'm working on a category page for a custom post type called articles in WP 3.1, and I'm having some trouble with extracting the page number. The url: /articles/category/background/ Currently, what ...
0
votes
1answer
2k views

Help with Wordpress custom url rewriting?

I have 3 problems. First,I would like something like this to do : www.example.com/myblog => myblog.example.com myblog is template page. and then when open one post from that page(post are custom ...
0
votes
2answers
860 views

Own code on index.php wordpress theme file, help with the rewrite rules

Hey there, I am sooo frustrated, asked and asked and can't seem to get an answer. Pleaseeeee help, I'll be very very clean whith my problem. I'll give hundreds of bears to the one who can help:) I ...
-2
votes
1answer
208 views

Please give me the rewrite rules for my ugly urls

In functions.php I am adding a rewrite rule for this url: http://www.myblog.com/?currentpage=1 http://www.myblog.com/?currentpage=2 And so on... This is the code I use, can u please give me the ...
3
votes
3answers
2k views

Need help with rewrite_rules_array

I have a page that I access at /category/tasks and the file is located at wp-content/themes/my-theme/tasks.php. I would like to make it so I can add a flag after tasks and pick up the query strong in ...
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
994 views

Getting Post ID from slug during init

I am trying to add a url rewrite rule that finds any posts that are connected to the current post (using Posts 2 Posts by scribu). It's tied into the WP Query object, so all I have to do is pass ...
0
votes
1answer
374 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 ...
7
votes
1answer
10k views

Passing and retrieving query vars in wordpress

I have two authors pages, one displays about 5 posts. Then I'm trying to setup another page that will be all of their posts. I have created a template called moreauthorposts.php and I'm trying to ...
0
votes
1answer
481 views

Custom Path for a Plugin

i developed a plugin (the backend at least) and now i want to add a frontpage to my blog. the url should look something like this http://www.mywordpressblogalsoroot.com/mypluginname/param1/param2 ...
0
votes
1answer
1k views

WPML - how to get the permalinks to display also the default language

Currently WPML adds /fr/ to permalinks to identify a url as French. The default language of the site is English, however WPML does not add /en/ by default for the default lannguage (English) ...