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)

0
votes
0answers
13 views

URL masking of subdomain to main domain using .htaccess

I am facing with the following technical challenge : We have a main website running on wordpress with content in local language (Greek) on the domain www.adomain.gr We want to set up a second website ...
0
votes
1answer
19 views

Alternatives to site_url() and get_template_directory_uri()

The problem I'm having is that my Wordpress is set up on localhost, but when I view the site from another computer, "<?php echo get_template_directory_uri();?>/image.png" will return ...
0
votes
1answer
12 views

Images not showing on homepage after migration [duplicate]

I have a website with one section not displaying images after migration, the src attribute returns empty urls, the site is intpro.co.zw and the section im referring to is on Latest Properties What ...
0
votes
1answer
14 views

Custom url in wordpress

I want to make custom url and handle it from my plugin Ex:- domain.com/myplugin=endpoint&id=num&.. i want to return just json data not template Thanks
0
votes
0answers
47 views

How To Achieve This URL Structure? [duplicate]

I have a custom post type of Dining, with a slug of "dining". That is the only thing that must stay the way it is. My desired URL structure is like so: site.com/dining site.com/dining/dining-post OR ...
-1
votes
0answers
7 views

Woocommerse image url as product image [closed]

I am adding products to woocommerse from another online shop. i am planning to add only product information and images will be loaded from external online shop that i grab it from, without adding ...
0
votes
1answer
19 views

wordpress theme link url

Firstly, I build wordpress with domain localhost. Now I change the domain to abc.ddns.net. However, both the css and image cannot be loaded. I inspect the element, and found the 404 of these resource. ...
0
votes
1answer
12 views

Use Parent Pages for URL Structure without Landing Page

So this is more a philosophical question than anything, and if I'm asking this in the wrong place, I'm happy to remove the post: What's the best way to use a parent page for structure while keeping ...
0
votes
0answers
10 views

Manipulating images in the media editor changes file URLs

it seems like, using the media editor to resize images, WP appends a string to the newly generated files, e.g. "...-e1428487180626.jpg". This is causing broken image links in some cases (i.e. where I ...
0
votes
0answers
12 views

Taxonomy Slug Rewrite 404 Error

I currently have this problem I have a taxonomy that has the rewrite slug as: resource-center/case_studies1 I have a custom post type with the rewrite slug as: resource-center/case_studies I ...
0
votes
1answer
13 views

How can I change the url of the blog post?

I have a url of the blog: http://inspurate.com/blog And the url of the blog post: http://inspurate.com/wordpress-blocked-pakistan/ But I want the url of the blog post to appear as: ...
0
votes
1answer
17 views

Relative URLs within site

I want to link to a page inside a website so the url I want to link to is this: http://www.example.org/about-us/team when I set a link like that: <a href="about-us/team">Our Team</a> ...
0
votes
0answers
5 views

Image URL Recently became Image Name and Took Page URL of Same Name

With a recent update to either wordpress, my theme or the Yoast plugin, we realized that any image with the same name as a page on our site has taken over the URL of the page. When we build out the ...
0
votes
1answer
28 views

Exclude image url from search query

I have a question today. I have recently completed a website and there is search box integrated. And, I have a post which has an attachment(attachment's url is www.sample.com/image/sampleimage.jpg) ...
0
votes
0answers
15 views

WordPress MultiSite Redirection

I have WordPress 4.1.1 installed on CentOS 7 as a MultiSite installation and "AllowOverride" has been set to "ALL" within /etc/httpd/conf/httpd.conf. Therefore PERMALINKS as set within each ...
-1
votes
3answers
101 views

WP Job Manger change jobs url (NOT slug)

I'm using the WP Job Manager plugin in my wordpress website. The list of my jobs is currently found on /jobs . I would like to have it on /careers . The listing of all jobs is not a page so I can't ...
3
votes
3answers
146 views

The correct method to pass query vars in AJAX using ajaxurl

OK, I had no idea how to title this topic. I'm trying to override the default behavior with ajax. The problem here is not actually a problem, but a wish more. I have this url: <a ...
0
votes
1answer
36 views

Use a template file for a specific url without creating a page

I wonder if its possible to use a template file for a specific url without having to create a page for that template. This is my simplified problem: I have created a page in WP with some link ...
0
votes
0answers
16 views

Calling the correct permalink via form action

Okay, I have a bit of an issue with my sites search widget If you go to this category page (for example): http://socialvenues.com.au/melbourne/function-rooms then select a region and then city (for ...
0
votes
0answers
24 views

How to display Category name in tag's URL

Iam displaying tag's in my sidebar of blog page now I need to have post category name in tag's url for example we get url like this http://example.com/category/blog/testpost when we click on post ...
0
votes
1answer
27 views

International characters in slugs to redirect to

I would like to add special Hungarian characters to slug. Also in the slug of the post, and in taxonomy. . Eg "kér", "ács" etc. This slug then applied also in the URL. Is this possible?
0
votes
1answer
14 views

Navigation and Permalink not getting correctly

I have menu- submenu and also add to category -sub category Incoming Partial incoming (page created) Fully Incoming (page created) Outgoing Partial Outgoing (page created) Fully Outgoing (page ...
0
votes
1answer
25 views

Wordpress site URL changed; how to fix it without database access?

we would like your assist on an error that occurred during some changes on the admin panel. We have this site called Caid.gr , it's for a non-profit company. We changed the Wordpress site URL by ...
0
votes
0answers
20 views

Page with same name of category

I've a category "news", I've removed /category from url so final URL is example.com/news/. Now I want to create a page (not a subcategory) "sport" which final URL has to be example.com/news/sport/. To ...
0
votes
1answer
17 views

How can I display a specific number of post in a category via a url

I'm trying to link to a specific category in my blog but limit the number of posts that are listed. I can link to the specific category via "www.example.com/?cat=6" and after looking around the web ...
1
vote
0answers
21 views

rewrite taxonomy-{taxonomy}-{term}.php terms

I try to figure out a rewrite problem, that is a somewhat over my head, so i ask here to find out what i can do. I use this two solutions from Jeff 1 and Milo 2, to get a full-path url for my custom ...
0
votes
1answer
22 views

How to add page under a custom post type?

I would like to add a page that uses a custom template (page-coffee-about.php), so it will appear under a custom post type called "coffee". The URL of the custom page should be ...
0
votes
1answer
50 views

How do you get all the urls of images attached to a post?

I've searched high and low and can't seem to get it. I'm trying to output an XML feed with all the images attached to a post from a custom post type: </BasicDetails> <Pictures> ...
0
votes
1answer
47 views

Function to get custom post image URL

I have to retrieve the URL from a custom post image, just the URL, like: http://example.com/wp-content/uploads/blablba.jpg. The code which I have to filter is this: <?php cp_get_image_url(); ...
1
vote
0answers
40 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 ...
0
votes
0answers
27 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 : ...
2
votes
0answers
50 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() { // ...
0
votes
0answers
17 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)) ...
1
vote
1answer
36 views

Random post category URL

I'm trying to get a random post URL, only in current category. This is my code, this returns the URL category, :/ <?php $current_cat = get_the_category(); $randomPost = $wpdb->get_var(" ...
0
votes
1answer
130 views

Redirect Image Url to a page via htaccess

I am trying to redirect Image Urls to a page. I have used 301 Redirection plugin, but that doesn't seem to work. For ex : http://mywebsite.com/wp-content/uploads/2015/02/Contestant-11.jpg should ...
0
votes
0answers
22 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
1answer
29 views

Using esc_url_raw with protocols properly

I'm trying to build up my own function to sanitize a URL before saving it to my WP database. However I cannot get esc_url_raw to trigger against unwanted protocols. The function below is letting all ...
0
votes
2answers
45 views

Blog post - single.php url

I have a simple blog page that just lists blog posts on a page called 'news' http://my-site.co.uk/news I have a single.php page to display the actual post when it is clicked on 'news' The ...
0
votes
0answers
17 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 ...
-1
votes
1answer
85 views

How to make pages slug have priority over any category

I use WordPress. I need to show page instead of category when they have same slug. I have category called "Acne" with the slug "Acne" page and the category have the same slug. When I write ...
0
votes
0answers
127 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
1answer
26 views

Double slash in the_terms URL

I recently moved a parent category and its children from the default categories taxonomy to a new custom taxonomy. The data moved over just fine and posts are properly associated with the company name ...
2
votes
1answer
48 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 ...
1
vote
0answers
29 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 ...
0
votes
0answers
19 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
1answer
17 views

MultiSite Move conjures duplicate URL

I just tried to do a very painful move of a multisite. I thought I had everything working until I clicked a blog link on the MAIN site and I was greeted with a duplicate url. Something like this ...
0
votes
0answers
35 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
1answer
22 views

Creating custom URL for async content

I am using a fully asynchronous Javascript/jQuery portfolio gallery (Grid Gallery template in Photolux theme). When a portfolio item is clicked, the item's details loads. It is built-in in the ...
0
votes
1answer
16 views

When using number in url it is redircting to same page but when using character it redirects to 404

I have a website e.g abc.com in wordpress, when I enter any url like abc.com/blog/1232132 then it is redirecting to the same url and showing the content of abc.com/blog but when I am using urls like ...
0
votes
1answer
35 views

Changing custom post type URL issue

I have this function and it does just what I need, it replace words in URL perfectly, but links don't work. All links are good and display on site well structured, as I wanted, but just don't open ...