Questions tagged [urls]

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

473 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
319 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
641 views

URL parameters causing 404 on home page, but nowhere else

I am writing a plugin that utilizes URL parameters. For some reason, adding one of these parameters to the home page of my website causes a 404 (http://bleaney.ca/?source=asdf). Adding the parameter ...
1
vote
0answers
42 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
909 views

Editing does not change post_name

Suppose I wrote an article, "My Article Title", it has been saved into the database with $post_name=my-article-title , and the permalink is mysite.com/my-article-title. All good. Now, if I didn't ...
1
vote
1answer
312 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
683 views

Per Page Permalink Structure for Page Post Type

I am trying to Re-Write Page URL's so that they END with .htm I was able to do this using... /* Add .htm extension to Page URL Links */ add_action('init', 'htm_page_permalink', -1); function ...
1
vote
1answer
98 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
259 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
199 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
99 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
74 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
1answer
129 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/ /about-us/...
1
vote
0answers
681 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
1answer
111 views

Taxonomy in URL

I have a huge problem: I want to have nice URL's on my Homepage. I got a custom post type and taxonomies. Now I want to have a URL like that: www. mydomain .com/videos(Category)/funny(Taxonomy)/the-...
1
vote
1answer
242 views

Get Taxonomy Term Title by it's URL

I have a URL - http://localhost/products/product-name/ and I want to use this URL to retrieve the title Product Name This is out of loop, so the URL provided is all I have to work from. Product Name ...
1
vote
0answers
57 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
126 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
596 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
68 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 http://example.com/...
1
vote
0answers
51 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: www.site.com/category/applications,...
1
vote
1answer
368 views

Retrieve post ID from “querying” URL

Disclaimer: I can't post more than two links, yet... I know there are many similar questions, but none of the solutions work for me. My problem is that with the Live Composer Plugin (wordpress.org/...
1
vote
2answers
34 views

Permalinks settings

My homepage isn't working if I select the "Post name" setting. Everything else works fine. When you visit www.clasificadosvallemedio.com, it doesn't load. It should look like: www....
1
vote
2answers
783 views

Start post pagination at 0 instead of 1

Is it possible to start post pagination count at zero instead of 1? I want the URLs to be like this: ../page (Foreword) ../page/1 (Chapter 1) ../page/2 (Chapter 2) But by default the URL ...
0
votes
0answers
7 views

Site url is not showing the home page

Marraxxxx.online is my website url, when i go to it, it gives me blanc page, only when i go to Marraxxxx.online/home the proper home page shows up correctly, how i can solve this plz? I want the ...
0
votes
0answers
12 views

Category page 404s on mobile but not desktop?

I have a category /blog with one post in it. If I access mysite.com/blog/ on a mobile device or in a mobile simulator it renders a 404 page. If I access this page on desktop it correctly renders the ...
0
votes
1answer
22 views

WordPress inserting ?q= in URLs

When I try to switch from editing a page or post to the actual post, WordPress inserts "?q=" after the root URL (and changes slashes to "%2F"). I've not seen this before, and Google is not pulling up ...
0
votes
1answer
36 views

Using a template file for a specific custom URL

I was trying to use a custom URL to load a page template for single-events.php without rewriting the default URL format. I am using filter template_include to load the template like this: add_filter('...
0
votes
0answers
15 views

Worpdress Elementor. How to read query variable from rewrote url in?

I need to create a Elementor page which should have the following URL structure: /order/(.*?)-([0-9]+)?$ At this page I should display a Elementor widget which will display information about order ...
0
votes
0answers
14 views

Nested permalink without dummy parent page

I want a permalink example.com/foo/bar without plugins. So I create the bar page using wp_insert_post(). I'm supposed to set the post_parent argument to the ID of the foo page. But I don't want to ...
0
votes
1answer
7 views

Get Wordpress username to customize url

I am currently trying to get the current username to add it to the url. The user should be able to navigate to his own dashboard wich is located under domain.com/username. Is there a way to retrieve ...
0
votes
0answers
13 views

Issues redirecting /%postname%/%post_id%/ to /%postname%/

Having permalink redirection issues. I'm trying to redirect /%postname%/%post_id%/ to /%postname%/. I've changed the setting from Setting=Permalink, and it seems to be working well. But example.com/...
0
votes
2answers
20 views

Wordpress Website change directory

I have wordPress site. My website works under demo directory. URL looks like this www.website.com/demo. I want change that to normal like www.website.com how to do that please help. Thank you
0
votes
1answer
17 views

I want to change url structure of my created archieve pages

i have created custom template in which i have run query from database . in the page i have run loop from database so i am taking id through url to another page and the link is creating like this ...
0
votes
4answers
76 views

Category URL's 404 after setting category base to '.'

I want to remove /category from URLs. I have set category base to "." I have some "category urls" which previously looked like /category/category-name/sub-category-name They are now /category-name/...
0
votes
0answers
13 views

any way to mark a URL in my list after /#/ (plugin user bookmarks)

I would like to know if there is any way to bookmark a url after # example: mysite.com/series/dragon-ball-super/#/?playlistId=0&videoId=3. But by adding it to my bookmarks this comes out by ...
0
votes
0answers
38 views

Two Custom Post Types in Permalink + Duplicate Slugs Issue

I'm having some trouble with WP adding those numbers onto the end of my slugs if it thinks it's a duplicate slug. The issue, though, is that it's not actually a fully duplicate URL, since I include a ...
0
votes
0answers
40 views

How to create a WordPress PAGE in another folder?

I have a URL Shortening script running on the homepage while there is a WordPress installation on another folder named blog. So that would look like this https://homepage.com/blog The problem is that ...
0
votes
0answers
14 views

How to allow URL with filename & extension in wordpress?

How to create custom URL routes? I wanted to generate csv using specific url for ex. https://www.example.com/exportcsv.csv Is this possible via WordPress? I have tried with querystring and all the ...
0
votes
0answers
22 views

How do I remove the pagination terms after a single URL?

Here is a single URL 10stuffs(dot)com/technews. and it also displays the result when we add pagination terms like 10stuffs(dot)com/technews/page/2. I just want to keep the URL like this 10stuffs(dot)...
0
votes
0answers
9 views

Taxonomy term hierarchy to work with single post as well as taxonomy pages

I have a website which has a CPT of products and product categories with subcategories. I want the url sctructure for taxonomy pages and single pages to follow url/products/term/single-product and url/...
0
votes
0answers
23 views

Subpages URLs for Custom Post Type

I have a CPT named "especialidades", so right now the page have URLs likes this ones: webpage.com/especialidades/some-name webpage.com/especialidades/other-name The template for this CPT shows tabs, ...
0
votes
0answers
23 views

Create 600 links to separate files on google drive

For an educational project about climate change, I need to create 600 links pointing toward 600 separate files located on google drive. I have the list of all 600 shareable URL to the files but I don'...
0
votes
0answers
14 views

Only the index.php/homepage open while other pages are not opening

I am developing WordPress theme on local server. Only homepage/index.php is working while other pages in menu are not opening. I applied the following: change "AllowOverride None to AllowOverride ...
0
votes
0answers
13 views

Category url decoding problem, refresh page is 404

I am working on a wordpress v5.2.4 site that has Arabic language and words in URL which is causing an odd issue. I create a category: خطوط إرشاد which is creating a slug url: www.mysite.com/خطوط-...
0
votes
1answer
13 views

Incorrect page shown

I am creating a website for someone to replace their old site. I put the URL of the old site into into the site address in my general settings, and now I can’t get it to change back to the site I was ...
0
votes
0answers
8 views

How can I create automatically changing urls?

I have following issue: I need to add CTA Buttons to my site, that generate, whenever someone clicks on them, a new url. The URL Structure has to be like this: example.com/ref/1001/test The part ...
0
votes
0answers
11 views

How to block the WP admin menus form loading depending on the current URL?

How can I block the WordPress admin menus and admin bar from loading depending on the URL. So that when a user visits a certain page in the admin area he will only see the wp-content block while the ...
0
votes
1answer
11 views

Adding Facebook's image and meta description retrieval capabilities to a WordPress post

When a URL is shared on Facebook, Facebook is able to automatically pull a relevant image and the meta description for use in the post. Would it be possible to code similar functionality into ...
0
votes
0answers
49 views

cURL timeout error 28 in Site Health and Sucuri SiteCheck

I run a server hosting multiple WordPress installations with the iThemes Security Pro plugin installed. One of the things that this plugin does is it uses Sucuri SiteCheck to scan the site for ...
0
votes
0answers
10 views

Url for random post (in specific category)

I know that a URL formed: samplewebsite.com/?random will redirect to a random post. Is it possible to create a URL that will redirect to a random post within a particular category? samplewebsite....