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)

1
vote
2answers
127 views

Wordpress not opening posts with only numbers if permalink is post_name

Someone knows why this happens? For instance, I have a post called 1987, but it does not open it when I click on the link. When I use a different permalink structure, it opens it. Why is this and how ...
1
vote
1answer
171 views

How to fix unchanged URLs in Database after running serialized search and replace script?

I just did my first migration from a dev site to a prod site, using the InterconnectIt serialized search and replace script. The migration worked, but here is where I’m struggling: The site was ...
1
vote
3answers
225 views

Changing RSS feed URL structure

I am in the process of creating a wordpress website, and I just have one issue left - RSS feeds. Currently, the website has a .htaccess file blocking access to /category/* pages. It was part of a ...
1
vote
1answer
2k views

How to get permalinks with category base working with sub-categories

I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight... ...
1
vote
1answer
1k views

Creating a dynamic URL structure

I want to create a directory structure for my WordPress links and for the final page to be based on the taxonomy of the page. So I have a business that belongs to a city (meta) and country ...
1
vote
1answer
360 views

What is the correct way to convert the absolute path of the executing script to a URL, in WordPress?

In a nutshell, my question is "How do I convert the absolute path of the executing script, e.g., /home/content/xx/xxxxxxxx/html/wp-content/plugins/MY_PLUGIN_DIR/MY_PLUGIN/MY_PLUGIN.PHP or ...
1
vote
1answer
90 views

How do I test my localhost WordPress project with VirtualBoxVM?

I'm working on a WordPress project set up with MAMP on localhost. I try testing the site on internet explorer with VirtualBoxVM by browsing to my local ip. My problem is, wp_head() outputs absolute ...
1
vote
2answers
37 views

How do I link to a blog not set as the homepage?

I have a blog here /www.mysite.com/section/news/ that only shows news in a specific category. When I use wp_get_recent_posts() and get_permalink($recent["ID"]) the link goes here ...
1
vote
1answer
58 views

How to allow — in category name

How allowed "--", "---" or any other symbol in terms(category) URL. Now WordPress replace from "--" to "-" ps.I`m using to Subdomain plugin. And IDN subdomain Example: xn--...site.com/ There xn-- is ...
1
vote
1answer
183 views

display URL or permalink instead of page title in dashboard

Is there a way to display the page url or permalink instead of the page title on example.com/wp-admin/edit.php?post_type=page I am doing some A/B testing and some pages have the same title, but a ...
1
vote
1answer
224 views

How to change the parent Domain Name in Multisites Project?

I have a multisite project. And then i want to change the parent domain name now. It is currently as: Parent: www.site1.com Multisites: www.oldsite.com/abc www.oldsite.com/def So how can i ...
1
vote
1answer
617 views

Request parameters in $_GET do not match URL called

I have a WP plugin which uses the request parameter "type" to determine what code-file to load in order to do some processing. The code which handles this is as follows: add_shortcode ...
1
vote
1answer
457 views

Wordpress custom search url

I'm trying to chang my custom search url for SEO purpose. I found an article about how to change mydomain.com/?s=query to mydomain.com/search/query. However, i prefer to have a custom search url such ...
1
vote
1answer
833 views

Change website URL without breaking links or images? WP 3.3

I am using Wordpress 3.3.2. Currently I am working on a website in a dev folder on my domain, dev.domain.com. Upon creating pages and blog posts, it just occurred to me that when I move the WP ...
1
vote
1answer
451 views

Non latin post slug truncate

I created a custom post type and set its permalink structure to 'category/postname'. I found that sometimes, when i create a post in a non latin characters, the post slug is getting cut. I googled ...
1
vote
1answer
124 views

How do I amend the fixed “author” part in the URL?

I am creating a localized instance of WordPress and one can easily configure the category and tag parts of the URL but I cannot find anything similar for authors. So for instance I get this: ...
1
vote
1answer
240 views

Rewrite a category

How do I rewrite a category url that has a number at the end, to a url with no number using wordpress url rewriter? and... Why is there a number appended to all category url's? ...
1
vote
2answers
161 views

How do I get rid of “category” from my URL structure?

By default WP links to a category like this, mydomain.com/category/travel. Having the word "category" appear in the URL seems unnecessary. I'd prefer have the link read mydomain.com/travel. How can ...
1
vote
1answer
927 views

How to have a custom URL structure for a custom post type?

Even though this question sounds like others here is my problem: The site I am updating had a permalink structure of /%postname%, during this time I created a custom post type of "popups" (rewrite ...
1
vote
2answers
45 views

Custom branding / theme specified by URL

Is there a way to have a site use a theme that is specified by the URL? for example the same site content, database and WordPress install where: domain_x.com uses theme_a with company_branding ...
1
vote
2answers
2k views

Add source URL from Feed WordPress (Syndication) plugin to a custom field in post editor

We're using the Feed Wordpress (Syndication) plugin to ingest external feeds resulting in posts published in WordPress. The plugin pulls the 'source' URL from the feed. We can display the source URL ...
1
vote
1answer
58 views

Blank Pages with # URL & Google

I'm using some blank pages that have a title only and a URL set to '#' for my navigation. (So, that the item appears in the dropdown menu, but when it's clicked a page doesn't open). Do I need to ...
1
vote
3answers
1k views

wordpress - load a template based on the URI

I have a number of custom of post types - i.e. 'windows', 'doors', 'garages' and I want to load a custom template (special.php) whenever my wordpress site has a url that looks like this: ...
1
vote
2answers
2k views

How to add the image URL from an external RSS feed and insert into a custom field?

*Editor Note (Original title: The url from an image via custom field) changed to be more descriptive. Hi all, Am not even sure if this can be done but...after ive been searching for the last 6 hours ...
1
vote
3answers
295 views

URL redirect problem

I have 2 pages in my wordpress 3.0.1 site with 2 urls www.mysite.co.uk/sub-page/child-of-sub-page/accommodation/ and www.mysite.co.uk/accommodation/ however any link in my site to ...
1
vote
2answers
106 views

How does Wordpress redirect to WooCommerce shop page?

I'm creating a plugin for WooCommerce, it needs a parameter in the url of shop page like this http://domain/wp/shop/?param=value. It worked fine until I set the shop page as front page, when I access ...
1
vote
0answers
36 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
38 views

How can save user linkedin link to my database [closed]

I need to get Profile link of user when click in LinkedIn icon in my site. So, When user click in this button, i need only get the profile link of him and save it in my site. Are there way to get ...
1
vote
0answers
44 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
1answer
153 views

Paginated Posts - Social Media Buttons Share First Page URL

I currently have the HTML5 Facebook, Twitter and G+ share buttons inserted into my single.php in WordPress, so it appears on all my post pages. Everything works great until I write a very long ...
1
vote
0answers
59 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
3answers
35 views

Confusion about Site url and directory

I have installed my wordpress in root/mysubfolder so my standard path is example1.com/mysubfolder (example1.com is the domain i have registered the webspace with) Now i want the wordpress ...
1
vote
0answers
70 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
1answer
30 views

How to always rewrite author archive page URL even if the author does not have a post

My understanding about author archive page URL rewriting is that as long as the author has atleast one post/page the URL for the archive page ofthe author will be re-written to: ...
1
vote
0answers
27 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
1answer
99 views

Is there a way to create a URL (new WP page) that can only be accessed from a specific source?

To explain further, here's what I"m looking to do: Create a WP page Use the URL and implement it in a reader service that is hosted (not downloadable) that in order to read (& access the URL) ...
1
vote
0answers
149 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
1answer
58 views

WP URL /icons returns 403 forbidden error

So, this is odd. On WordPress, I'm not allowed to have a page http://mysite.com/icons. Apparently that slug doesn't work, and I get an error 403 (forbidden) if I try to go there. This seems silly, as ...
1
vote
1answer
371 views

WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)

I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php I've been looking at the core code and noticed that most login ...
1
vote
1answer
75 views

How to use all tags in post permalinks

My site with pictures is set up so that the posts do not have a title and have only tags. I would like to know how to use all tags in permalinks settings?
1
vote
0answers
95 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
1answer
582 views

Insert custom ID into wp_get_attachment_link

I'm working on this function of WordPress. function wp_get_attachment_link( $id = 0, $size = 'thumbnail', $permalink = false, $icon = false, $text = false ) { $id = intval( $id ); $_post = ...
1
vote
0answers
246 views

wp_insert_post - How do I prevent incremental numbers on child pages?

I'm using wp_insert_post to dynamically generate child pages for a given page using a predefined array of values. The goal is to give each child page the same slug. For example, clicking "Generate ...
1
vote
0answers
109 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
63 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
1answer
57 views

Organizing Your Pages

I'm having problems creating sub pages. So far I've followed the proper directions: Go to a new page, click the "Page Parent" drop-down menu. Select the appropriate parent Page from the drop-down ...
1
vote
0answers
123 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
1answer
100 views

Multiple URLs with Numbers

I am trying to correct a problem on a Wordpress site which is producing duplicate pages in the format of: /about-us/connecticut/3/3 /about-us/connecticut/3/3 /about-us/connecticut/3/ ...
1
vote
2answers
379 views

Change code to display image attachment page

I have this code which displays images with their captions in a list. On clicking caption, opens image in an attachment page, but clicking on image, opens that image with a dark-gray background. Is ...
1
vote
0answers
242 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 ...