A uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource.

learn more… | top users | synonyms (1)

3
votes
1answer
190 views

Why does wordpress still strip my query var?

Im trying to pass a query var to a custom page template with pretty permalinks. So basically i have a page called "albums". And i want to pass a query var to that page called "type". So the ...
3
votes
2answers
274 views

How to build custom WP admin with custom URLs

I would like to create a custom WP admin area, that uses custom URLs to navigate thought it and have a custom generated HTML. A member will be able to login via a custom URL, for example: ...
3
votes
3answers
1k views

Force home page to be https?

I have a SSL certificate and https plugin which both work fine along with changing the Settings in the Wordpress menu to https but I have to manually enter 'https' to see the Secure version, is there ...
3
votes
1answer
1k views

Multiple endpoints to same page

I'm doing a bit of AB testing, and am looking for a way to point multiple endpoints to the same page in wordpress. My site is using wordpress as it's CMS tool. http://mysite.com/test/link1 ...
3
votes
2answers
537 views

Removing hierarchical pages in the permalink

I have several pages set up in a hierarchy on my site. Currently the site's pages and URLs look like this. Page name | Current URL | Preferred URL ...
3
votes
2answers
295 views

Adding another word in front of post url

I have a wordpress website with bunch of posts. My problem is that I need to change the URLs from website.com/post-name to website.com/specialword/post-name The "specialword" is what I need to ...
3
votes
1answer
380 views

Limiting the number of words or characters in the slug/permalink

Limiting the number of words or characters in Wordpress slug/permalink. I would like to limit the number to the first 5 words (or 20 characters) even if the post title is longer. example: Title: ...
3
votes
1answer
436 views

Preview Image Path in Admin Section

So I have run into a little glitch. i have a custom path for uploads and it works. the files get saved to the right place, etc. The problem I have is the 'widget box' in the admin section. immediately ...
3
votes
1answer
278 views

Best Way to Leverage Custom Post Type Related Content and Consider SEO

I'm doing a real estate project for a client. I've created a custom post type called "communities" to list new construction communities in her area. I also want to have deeper sub pages but I would ...
3
votes
1answer
271 views

Query two taxonomies via URL or link?

I've been banging my head about this, and have created a work-around, but it would be much nicer for my site's organisation if I could figure this out. I want to be able to query posts across two ...
3
votes
2answers
49 views

Weird: /?name in URL leads to blog

This is a strange behavior I can't come up with a good explanation for: If you append /?name to a WordPress URL, it is loading the blog page. I came up with it by creating a custom Aweber "thank ...
3
votes
2answers
1k views

Using URL parameters, list posts from category and custom taxonomy

For example, http://example.com/?cat=6&tag=books lists posts that belong to category ID 6 and tagged 'books' (i.e. posts that satisfy both conditions). Similarly, ...
3
votes
1answer
203 views

How to make WordPress use protocol indepentent upload files?

I am using FORCE_SSL_ADMIN in wp-config.php so everytime I upload a new image and inserted into the post, it is using SSL version e.g. <img ...
3
votes
4answers
5k views

URL Rewrite + Page + Custom Post Type = Unusual Redirect

Yet another URL rewrite issue :) The Problem I have a URL rewrite rule that should work, but against all logic it redirects without passing the query var. The Juicy Details The site has a page ...
3
votes
1answer
1k views

Creating custom permalink structure for languages

I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc). I hook into the wp action to read the ...
2
votes
1answer
3k views

Add query string to plugin URL

I am creating a plugin that resides at http://localhost/test/wp-admin/options-general.php?page=my-plugin I am trying to add a query string to this page so that it can be used in my plugin such as ...
2
votes
2answers
48 views

Migrating a page to be an article

I've decided, that some second level pages I have, should really be blog articles. I want to copy and paste the title and body to an article and then delete the page (is there a better way of doing ...
2
votes
1answer
5k views

Custom page with variables in url. Nice url with add_rewrite_rule

Using WP3.1 I Have a custom page with a WP_Query and the query gets dynamic variables from the url. And i want safe variables and clean urls. Example: ...
2
votes
3answers
194 views

Linking comments from registered users to their profile pages

I am trying to find a way to link the 'username' in comments from registered and logged in users to their profile pages instead of their website URL. And comments from unregistered users to their ...
2
votes
1answer
524 views

Is 'name' a reserved word in URL's?

I'm creating some custom templates and I keep running in to a problem where I get'Page not found'. After a bit of debugging, I discovered that I only get this if my URL contains ...
2
votes
3answers
3k views

Creating 301 Redirects for Post, Page, Category and Image URLs?

I fear this may be too much to ask here, so if so, please feel free to tell me of another place to learn. Help with Redirections I'm cleaning up a badly developed site and migrating wordpress from a ...
2
votes
2answers
119 views

I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?

I'm generating my CSS dinamically in a function using a link like this <link id="www-core-css" rel="stylesheet" href="http://wordpress/myplugin/theme-css-loader.php?v=1" /> and i was ...
2
votes
1answer
31 views

List of default WordPress URLs

I'm looking for a list of all possible URLs (or URL patterns) that would deliver content or would otherwise cause WordPress to respond to the request with something other than a 404. Let's assume a ...
2
votes
1answer
734 views

How to increase the character limit for post name of 200?

I have post name in Thai which uses UTF-8 character. Many of them encode into super long in ASCII e.g. วิธีการหลีกเลี่ยงข้อผิดพลาดทั้ง-8-ในชีวิตการแต่งงาน I've changed the type of "post_name" using ...
2
votes
2answers
56 views

Rewrite category wordpress

Is it possible to rewrite only one category ? I have a category "Photos" and just for this category. I just want to rewrite it from /category/photos to /photos
2
votes
2answers
1k views

Using custom/dynamic “slug” for a page

I have a custom page which uses a template called "Stores" http://example.com/stores/. This page will have a list of states and/or companies as categories. For this system I have a custom post type ...
2
votes
3answers
606 views

flexible rewrite 'ramble' URLs with Wordpress

I want to access my post with id 17 like this: http://localhost/archives/17/moot-bla-foo-ramble In other words, the id shall decide, everything thereafter may (or may not) be the slug or anything ...
2
votes
1answer
549 views

How to create a specific frontend URL (not a Page) from a theme or plugin?

My theme implements an AJAX action that returns some dynamic content and needs some functions from the Wordpress environment. How can I construct a URL for the AJAX call in the most elegant and robust ...
2
votes
3answers
2k views

How to create non-unique sub-category slugs?

What’s the best way to make Wordpress accept non-unique sub-category slugs? By default, Wordpress ensures that every ‘slug’ portion of permalink URLs is unique, and is very savvy about using this to ...
2
votes
1answer
555 views

How does routing on wordpress work?

How does the core wp routing works? I am having a hard time understanding... In MVC, your url looks like mycontroller/myaction that maps to MyController->myaction() In drupal, it's ...
2
votes
3answers
125 views

base directories / URL

Is there a way to handle base directories for taxonomies that result in a 404. For example my URLs are: http://skipology.com/category/... http://skipology.com/app/... but the taxonomies / base ...
2
votes
2answers
144 views

Use image url with add_image_size

I am looking for a way to use an image url with the WordPress function add_image_size, I have already setup an image size called 'custom-thumb' For example, instead of... the_post_thumbnail( ...
2
votes
1answer
506 views

WordPress Custom Post Type Category Page

I was hoping someone could help me. I have done some serious googling but cannot find the answer for this one. I have a custom post type called tutorials. I can go to mysite.com/tutorials and get a ...
2
votes
1answer
97 views

Appending numbers to url do not break the link

I'm doing some url and meta cleanup and have found a strange problem(?) where, when adding a number to a url, the url still works. For example: The following uris both work and retrieve the same ...
2
votes
1answer
2k views

How do i reference the theme path in pages for images?

How do i reference images in a page/post without installing the php plugin or typing it out manually like this: domain.com/wp-content/themes/mytheme/image.jpg
2
votes
3answers
2k views

User redirect to destination URL after login

Scenario: if user not login, user redirect to customize login page and redirect again to destination page after login. I don't use a function or plugin. This code to restriction page: if ...
2
votes
2answers
402 views

Define orderby in url

is there a way to set the order of posts via the url? /orderby/date/order/desc/ i have tried several things with add_rewrite_rule whiteout success. add_action( 'init', 'wpse13483_init' ); function ...
2
votes
1answer
64 views

Using a _GET gives me a debug error (over my head)

Just looking for some advice on something that is bugging me. Please bear in mind I am a PHP noob :-) I am passing a variable in the url to my WP index page like so: <a href="<?php ...
2
votes
1answer
487 views

custom permalink/shortlink with base62 encoded post ID

I want my post-links to look like /%post_id62%_%postname%/ where %post_id62% is the post ID in base62 encoding (e.g. http://example.com/y9Rlf_test/) and my shortlinks to consist of /%post_id62% only ...
2
votes
1answer
2k views

Hijacking the URL for filtering

Right, here's the deal. I've got a loop of which displays news posts, these posts can belong to special categories (not normal categories) and I want to be able to filter by them. If I wasn't too ...
2
votes
1answer
547 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 ...
2
votes
2answers
313 views

Bulk Delete Users Error uri too large

I am trying to delete thousands of users at once. After seeing that I can only display up to 999 user records at once using the "Screen Options" menu I thought that might be ok. But upon clicking ...
2
votes
2answers
462 views

How can I pass a variable to a page with a SEF url?

I'm making a website for a small church. They would like to upload sermons to their site. I've looked for a WP plugin to do that, but none of them did exactly what they wanted. So, I'm making a ...
2
votes
1answer
114 views

Wrong links in Wordpress?

I have a project on Wordpress. I would like add an article. In admin panel I click on Post, then Categories and add a new category called article. Next I add a new post and edit title, body and ...
2
votes
1answer
220 views

locate_template with multiple categories?

in this example (from Wrox book), if a single-category-$slug.php file exists, it will be shown, otherwise it's the single.php file. But if we have more than one category for each post (let's consider ...
2
votes
1answer
812 views

How can I have multiple URLs pointing to single WordPress installation?

Here's my scenario: I have three specific jobs sites: LAMPJobsLA.com, MobileJobsLA.com, SocialMediaJobsLA.com I'd like to run them under on "master site": TechJobsLA.com but keep the URLs intact ...
2
votes
1answer
1k views

Get a permalink structure of /%posttype%/%category%/%postname%

I have a custom post type named Reportage, added in functions.php: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'reportage', array( ...
2
votes
1answer
325 views

Add filename to attachment page url

I wan to change my premalinks to attachment pages from http://example.com/.../attachemnt/something to http://example.com/.../attachemnt/something/something.jpg It should simply add filename but with ...
2
votes
1answer
57 views

custom taxonomy and custom post type url conflict

i am having one serious url issue. there is news custom post type. it's slug is news. News taxonomy slug: news_category News taxonomy url is: http://domain.com/news_category/press-release i want ...
2
votes
1answer
36 views

Localized WordPress content for different sub-locales of same language?

I have a site which serves Ireland & England. I want to move it to Wordpress. Currently all the content is the same when you visit the site & it runs off two urls, the Irish one: mysite.ie ...