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
96 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
104 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
22 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
30 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
70 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
52 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
65 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
95 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
30 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
177 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
97 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
281 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
124 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
69 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
135 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
283 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
174 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
47 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
73 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
192 views

Retrieve/get current image from Nextgen gallery db

I thought that I can do it using the database where the idea was to get the image from the ngg_gallery_pictures table, where the browser URL is equal to URL of the image in the table. Then I will get ...
1
vote
0answers
311 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
16 views

URL Friendly for parameter in URL

I have created a rewrite rule for a custom parameter using this code: <?php function add_query_vars($vars) { $vars[] = "cid"; // represents the clinic id return $vars; ...
0
votes
0answers
11 views

Duplicate content problem with parent slug

I have one page without a parent page attribute called "bar", with slug "bar": /bar/ I have child pages, for example "foo", which has the "bar" page as parent attribute and slug is "foo": ...
0
votes
0answers
13 views

Need help to change URL

I changed my URL address but every time I click at "Home" it generates my old URL and it says that "The authors have deleted this site." How do I change this? Thank you! Yours Sincerely
0
votes
0answers
11 views

urls are showing without http in source code

My site is showing all URLS without http://, example : a href="suites/" on server where as on local server it is having absolute path. can anyone guide me why this is so.
0
votes
0answers
38 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 ...
0
votes
0answers
7 views

Pagination Being Removed From URL with a Custom Loop

I'm having a little trouble with enabling pagination for one of my custom post types. Basically, I have a CPT of 'surgeons' which lists (surprisingly!) a surgeon - on their single page, I'm wanting ...
0
votes
0answers
32 views

Redirect using document.location.href go to undefined > 404 on Wordpress

Here goes my issue: I'm executing the sql and listing the states fine in the page >> mywebsite.loc/fairs/ and I want to select the combo and redirect to >> mywebsite.loc/fairs/?state=CA But wordpress ...
0
votes
0answers
10 views

How to remove author/user name from url

this is my first question here and i'm new to wordpress. facing a problem like my site user name is showing into the url and get indexed by Google although i have replaced that user name with a new ...
0
votes
0answers
15 views

Child theme urls: How to point to a correct folder

I have created a child theme. My problem is that the get_template_uri() is pointing to parent theme's template directory. How do I refer to the correct (child template) url?
0
votes
0answers
18 views

Different Slugs depending on last page

is it possible to configure WordPress on some way that if i have a portfolio Item ( from my theme ) which will be opened from 2 different pages and w/o an URL jump so that www.xyz.com/brands/example ...
0
votes
0answers
48 views

How to execute function/method when specific URL is called?

I have url "www.something.com/wp-content/plugins/tool_new/admin/new_tool_email.php?method=new_tool_send" I want to sent up real cron job, and when this url is called to execute method ...
0
votes
0answers
32 views

Sub category text in the URL of wordpress site

I am launching a site about mobile and it is in wordpress. URL structure is as follow example.com/unlock/company/model example.com/how-to/company/model Unlock and how to are parent category and ...
0
votes
0answers
14 views

Getting Wordpress Permalinks to match menu navigation

I am trying to get my permalinks to match the location of where the page/posts lie in the navigation menu at the top of my page. For example, my travel site has has a post about Torres del Paine ...
0
votes
0answers
21 views

Text widget form and URL variables

I have an HTML form that I dropped into my Wordpress text widget that connects to a third party service so I need the form variables to be exactly right for it to work. The form is using GET rather ...
0
votes
0answers
14 views

Strange URL alternative behavior. site.com/a redirects to a page like site.com/an-article

Today, I saw that the link site.com/b doesn't show a 404 page. It goes to site.com/blog/1393/03/05/built-in-power-supply/ (Maybe because of built-in-power-supply at the end) site.com/c goes to ...
0
votes
0answers
19 views

Index.php duplicating home URL and itself showing in GTmetrix

Using Gtmetrix to measure my site performance I notice index.php is duplicating my home URL also it is duplicating or called twice in the waterfall. I have no clue why or how this is happening any ...
0
votes
0answers
10 views

Incoming URL variables to custom metabox

Is it possible to take values from an incoming URL variable and write it to a custom meta box? My client has something like the following for a URL (marketing purposes): ...
0
votes
0answers
21 views

moved site to development box, WP works fine except that only root of site is served

I have a small, ultra-low traffic WP site. Let us call it www.mysite.com. This same URL is listed both as the "Site Address" and the "Wordpress Address" under the wp-admin Settings panel of the live ...
0
votes
0answers
72 views

Change wp-login.php url and lost password to custom name

I'm using SiteMile's auction theme and I'm trying to change the "wp-login.php" to "login." I tried using the plugin, Rename WP-Login and that worked, however the "lost password" link doesn't work. I ...
0
votes
0answers
17 views

How to pass REQUEST_URI to function

I'm trying to build a custom URL with error messages at user registrations, e.g.: ?invalid_username=1 or ?email_exists=1. I am able to build the front part of the URL manually/statically, with the ...
0
votes
0answers
73 views

How do I add a forward slash to end of URL for Fetch as Google?

When trying to use the Fetch as Google tool I keep getting a redirect error. This error is because my URL address is http://www.example.com instead of http://www.example.com/ How do I add the ...
0
votes
0answers
31 views

Stop wordpress automatically abbreviating the domain url

I'm trying to include webtrend js script in the footer template <script type="text/javascript" src="<?php bloginfo('template_directory'); ...
0
votes
0answers
38 views

Change the image for a certain URL

Currently we have an image at url /wp-content/uploads/sites/3/2014/07/filename.jpg The image contains incorrect information, and we've already sent emails out containing links to this image. We'd ...
0
votes
0answers
30 views

Site goes back to homepage when you dont include the www

I have made multiple pages in my Wordpress site but whenever I go to these pages without the www in the beginning the site always redirects to the homepage. I know if i was getting an error it would ...
0
votes
0answers
37 views

Dynamically add a keyword to url with a specific template

I'm working on a site that is going to have two parts. Its going to have the regular marketing website and its going to have lots of landing pages constantly being drafted up to test things. My ...
0
votes
0answers
28 views

Site not loading after trying to give wordpress its own directory

I have followed these instructions http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory 100s of times and never had a problem. Now I am trying to remove the /wordpress from the URL again ...
0
votes
0answers
23 views

Wordpress custom url menu items being overwritten

I am fairly new to Wordpress development. Using a site that runs 3.91 with a custom theme that I have inherited from someone else. My question is fairly simple: I want to add custom menu items that ...