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)

2
votes
0answers
31 views

Rewrite rule page url with category

I have enabled the category box for pages with this: // Add to the admin_init hook of your theme functions.php file add_action( 'admin_init', 'page_categories' ); function page_categories() { // ...
2
votes
0answers
35 views

Password protected page Hash url

I am using owl carosel which takes a hash url to go to a specific slide (http://www.owlcarousel.owlgraphic.com/demos/urlhashnav.html#five) Lets say I want to visit a password protected page with the ...
2
votes
0answers
106 views

Prevent “main” WPMU site_url() being returned in functions

I've noticed that in a WordPress MU install with domain mapping enabled, some functions return URIs that don't use the current WPMU site's primary domain name which possibly means they are "WPMU ...
1
vote
0answers
27 views

Wordpress can generate numeric permalinks, which then 404

I know why setting a numerical permalink for a post would mean Wordpress confuses page name and number. However, I notice on the site I am working on (Wordpress 4), that you can edit the permalink to ...
1
vote
0answers
27 views

Changing URLs for taxonomies and CPT

I have two taxonomies for my custom post type: location and price-range. location is hierarchical: city > region > suburb ... price-range isn't. When a user goes into a URL like ...
1
vote
0answers
32 views

same slug for custom postype and page pagintion not working

I have created post type "news" and a page "news" so my url is like http://demoserver.com/testsite/news Here i use page template for news landing and i do not use archive.php page for post listing ...
1
vote
0answers
20 views

Why am I seeing all these weird 'loginid' requests?

I've been monitoring the access log for one of my Wordpress sites, and I'm seeing a lot of requests like this: /?loginid=df01ec6de1 I'll see a long series of these coming from one particular IP ...
1
vote
0answers
162 views

display dynamic content based on url slug on custom page

i have a custom page named locations and i want the url to load like this: /locations/california /locations/nevada etc.. and upon each page load of the given url as above content is loaded based on ...
1
vote
0answers
160 views

Remove subcategory and category with some rules from permalink

My current option for permalink is set to /%category%/%postname%/: I have a category 'stati' and parent category 'italian', 'german'. This parent category has some other parent category, for example: ...
1
vote
0answers
23 views

How to auto gen. custom post type values in other custom post type in url?

I have created two custom post types (CPT) say books and reviews. Now how can i auto generated a reviews page for a specific book title??. What i have done so far i made a review page ...
1
vote
0answers
140 views

How to generate a list of all urls

I'd like to display a list of all Urls of my Wordprees site. I print out a list of all taxonomy terms like this : <?php // Get all Post $html = '<h2>Articles</h2>'; ...
1
vote
0answers
101 views

How to change the Author Slug from Username to Nickname and deal with Special Characters

I need to change the author slug from username to nickname: This is what is set by default: http://domain.tld/author/(username) This is what I need: http://domain.tld/author/(nickname)-(author-ID) ...
1
vote
0answers
62 views

Pre-populate Slug / Permalink with URL

I would like to not only pre-populate the title, tags, and categories, but would also like to pre-populate the slug / permalink as well. Can I do this and if so how? Here's my functions.php code: ...
1
vote
0answers
72 views

Search Query: how to construct a search string from two select elements?

Im trying to create a wordpress search widget. The final search string Im trying to submit is made up of two keywords, one each from a select element. I'd like the final search query to be ...
1
vote
0answers
128 views

Relative v.s. absolute URLs: which ones should I use for cross-domain portability?

My question is related to but different from this one I need to make sure that my URLs work across domains like staging.domain.com, localhost:8000 and www.domain.com. I have local, staging and ...
1
vote
0answers
31 views

Adding custom taxonomy in my existing category URL

I have a custom taxonomy for my posts called "Continents" and they could be: Europe, Africa, Antarctica etc... Then I have standard categories like: News, Reviews, Interviews etc. And 1 subcategory ...
1
vote
0answers
200 views

Multiple post categories - single permalink

I created a post which is assigned to multiple categories. Eg: I have a post "My Post", and I put it in "foo" and "bar" categories. Now my article will have two permalinks, "/foo/my-post" and ...
1
vote
0answers
101 views

change content based on url per plugin

I have a wordpress page that uses a custom template I created. The url looks like this: http://localhost/custom What I want to do, is have the content for this page change, depending on the action ...
1
vote
0answers
136 views

Changing URL scheme, mod_rewrite not helping

We're trying to move away from the /YYYY/MM/DD/Post-Title URL structure without breaking links that are floating around on the internet. The mod_rewrite rule is fairly straight forward - RewriteRule ...
1
vote
0answers
76 views

Need help enqueueing webfonts

I am attempting to enqueue web fonts that I am loading in via the WebINK font library. (This service is similar to Typekit). This service works by generating a unique CSS link for each unique site. I ...
1
vote
0answers
163 views

Pages redirected to attachment post

THE SETUP I'm using WordPress 3.4.2 with Magic Fields 2 plugin. Using MagicFields2, I've added a custom field to the builtin 'page' post type. This field is called 'section_header' (which is ...
1
vote
0answers
346 views

Custom category URL rewriting

Here is the situation: let say I have a page called Press and that page has this url: www.example.com/press-center Now, let say that I have a category Press (slug is press) and subcategory called ...
1
vote
0answers
180 views

How to create a custom url for a category

I took over a site that displays the category in the URL three different ways. For some categories it shows "?category_name=blah". (Not ideal, but I can live with it) For newly created categories ...
1
vote
0answers
48 views

category url structure

Is it possible to have listed all available categories on www.example.com/category/ request. Using the following url as mentioned in my example generating 404 error.
1
vote
0answers
77 views

WP_Query Attachment adds additional attachment count and need to link attachment to post url

I just wonder why WP_Query adding one more additional attachment with the defined number or posts. Also need to link attachment (thumbnail) to the post url. Here is my code <?php $query = new ...
1
vote
0answers
339 views

Using custom taxonomies to display hierarchical URLs?

I can't seem to get my custom taxonomy hierarchy working properly. It seems like many other have had this problem but none of their fixes work for me. I would like to have a URL structure similar to ...
1
vote
0answers
63 views

ngnix Url rewrite doesn't work

on my server i have installed magento,which is in my root directory. then I created a sub-folder named blog in my site's server. access the blog url is: http://example.com/blog ...
1
vote
0answers
43 views

menu using category and tags

I'd like to do (somehow) manual menus that would display all posts within certain category. Eg, I'd have sections "applications" and "games" so now i can do this: ...
0
votes
0answers
14 views

Moving Wordpress to a subfolder and update URL (same server)

I'm having some problems with my blog right now. I want to move it from my original root to another folder AND update the URL too so I can make other blogs with the same domain name. Step-by-step : ...
0
votes
0answers
29 views

rewrite rules for taxonomy-archive and pagination

i am using this solution here to rewrite my urls. it work good except if i has diffrent levels of taxonomies and i am on a taxonomy-archive page. milo says that if this the case we can use this ...
0
votes
0answers
14 views

How to use pretty urls with given parameters?

I am a bit in trouble finding the right solution or a plugin which handles my parameters to pretty URLs: Right now im using links like: <?= add_query_arg('post', get_the_ID(), get_permalink(83)) ...
0
votes
0answers
10 views

Stop WordPress from sending custom GET parameters on form submit

I have a custom menu page I'm building for a theme. This page displays a list of items and also a form to add a new one. The table with the items also displays links to delete each of the via URL GET ...
0
votes
0answers
16 views

Moving Site: Is Re-downloading Files After Changing URLs necessary?

On the Wordpress Codex: Moving Site page under Changing Your Domain Name and URLs, it states that you should re-download your site files (Step 5) after changing your site URLs (Step 4). Is Step 5 ...
0
votes
0answers
59 views

404 when remove Slug base custom taxonomy and custom post type

I have a custom taxonomy (cities) and a custom post type (spots). I have removed the custom taxonomy base slug and the custom post type base slug to have this : mysite.com/amsterdam (all spots in ...
0
votes
0answers
17 views

How to make my taxonomy URL work?

I register my taxonomy ( Writer ) with this code : function writer() { $labels = array( 'name' => 'writer', 'singular_name' => 'writer', ...
0
votes
0answers
20 views

Page with the same name of a category

I've a category, let's say "testcat". I want to create some pages which the final url should be "http://example.com/testcat/pagename". To do this, I should create a page named "testcat" and then a ...
0
votes
0answers
238 views

taxonomy term in URL slug won't forward to the correct term for custom post like it does for default categories/normal posts

so I notice when you type the URL of a post with a category (eg category5/post), it will automatically forward to the correct category in the URL (eg category5 changes to category1) if the category ...
0
votes
0answers
32 views

How to change existing image links to go to Attachment Pages?

Currently, all the images on the posts are linked to their parent post pages so that when you click on an image, it'll try to to go to the parent post page. But due to a recent Permalinks change, it ...
0
votes
0answers
16 views

How to fix social media profile URL appears in the end of every WordPress posts' URLs?

I am having issue right now regarding my WordPress URL. Not only appears on posts' URL, but also in the main domain. My social media profile URL always appears in the end of every URL of my WordPress ...
0
votes
0answers
30 views

Navigating from a custom post type single page to the list

I have a question regarding my single-tutorijali.php ("tutorijali" is the name of my custom post type). I have created it to display these custom post pages differently than "normal" posts. I link to ...
0
votes
0answers
27 views

Custom post types - Archive or parent/child for navigation

So, I want to redesign my website using WordPress (as CMS) and Bootstrap (as front-end). Now, I've been pretty successful at doing so, but I have one specific problem. I have a tutorial website and ...
0
votes
0answers
41 views

Stop Wordpress appending `-2` to the end of my url after i change it

When i try to set the url of a page in wordpress (4.2) it keeps apending -2 to the end of the url, i guess its becuase this ulr already exists, but i checked and it dosnt, although at one time it did ...
0
votes
0answers
35 views

WordPress generating 2 URLs of single post

I have created my own wordpress site , I have assigned category called "mycat" to post. Now wordpress has generated 2 URLS : 1 - mysite.com/mycat/post 2 - mysite.com/post It is good that ...
0
votes
0answers
38 views

I'm doing this single page website the right way?

I'm making a single page web site using WordPress and I want to know if I'm in the right direction, and if this is the best way do it. First I'll show how the website is structured, it has 4 pages: ...
0
votes
0answers
64 views

Changing attachment url?

How to change default attachment url: www.domain.com/category-name/subcategory-name/some-post-title-here/attachment/some-post-title to: ...
0
votes
0answers
29 views

Remove Page Slug from URL

I have a page www.website.com/merchant, this is a page post type. I placed a shortcode in this page to generate merchant information. So If the URL is www.website.com/merchant/store1, that page will ...
0
votes
0answers
23 views

How to create a dedicated folder for specific role via registration

I need to include an option in registration page so that user can enter a name for the folder that we can create for them (like this: http://MyDomain.com/User_named_folder or page). I saw this in ...
0
votes
0answers
78 views

Change default URL of image attachment

I have only one image attachment per post, as featured image. Every post have just one image, featured image, and no any other image in post content. By default URL of image attachment is: ...
0
votes
0answers
31 views

Is there a Standard Format for Clean URLs for Archives of Custom Posts?

Are there standard formats for clean URL's for the various types of archives one would want from a collection of custom posts? If, for instance, the slug for the custom post is "business": Author: ...
0
votes
0answers
11 views

Make custom taxonomy globally accessible

I have a custom taxonomy called 'location' which resides as a hierarchy. I want to keep this in the same way the categories are handled in Wordpress by default. I can query posts by location and no ...