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.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 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 ...
1
vote
1answer
17 views

Old URL Redirect website after migration

I have migrated my old website from example1.wordpressstaging.com to epxample2.com on a new server (using All-in-one Migration Plugin). Everything went fine with the migration. Now after I complete ...
0
votes
0answers
13 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
37 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
16 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/...
1
vote
1answer
27 views

How to change logo url [closed]

I want to know how to change the logo url of my website https://thienthans.com/frenchies/ So when you click to the logo it will go directly to https://thienthans.com/example Kindly help me, as I'm ...
1
vote
0answers
11 views

How to redirect to clean links with this code

I have a website uses wildcard* i made a custom page called custom-page.php i used this code to access to this custom page RewriteCond %{THE_REQUEST} \h/custom-page\h RewriteCond %{REQUEST_URI} !^/...
1
vote
0answers
22 views

Dynamic URL based on user_metadata

I want to know how can I dynamically change the page a user is taken to when they select a URL....using wordpress user metadata fields? My users have either selected "male" or "female" as their ...
1
vote
2answers
22 views

How to change the category url jusy show /category/%category_id% in wordpress?

I want to change the article url as "www..com/post/%post_id%". For example, www..com/post/156/ And now, I did it. But I don't know how to change the category like this. For example, www.***.com/...
1
vote
1answer
23 views

My #id is not showing in the url when the user clicks on the anchor tag

I am working on my WordPress website and when the user clicks on the <a href="#id"> tag, the #id is not showing in the URL and because of that, when the user clicks on the back button, it is ...
1
vote
0answers
18 views

Redirect based on a query string

I am working on project where the previous web developer has left the company. There is redirect happening based on the query string and I can't figure out where. The example URL is https://www....
1
vote
0answers
18 views

Change pagination url format

I have a URL like this: example.com/blog/page/5 I want to change it to: example.com/blog/page-5 I tried using a RewriteRule like this: RewriteRule ^blog/page-([0-9]+) /blog/page/$1 but this ...
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 ...
3
votes
2answers
419 views

Why does WordPress automatically redirect URLs with the parameter “name=” to a different page?

How do I disable this automatic redirect of the name variable so that I can use it on my call booking landing page? I'm setting up a call booking page here: https://www.themcmethod.com/talk/ I want ...
1
vote
2answers
32 views

How to change only the home page / front page url on wordpress

i want to change only the url/permalink of the home page for example like this mysite.com to mysite.com/blog . Guys don't think i am a noob, i know that there is the option on wordpress dashboard ...
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
23 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
1answer
19 views

No url when downloading PDF

I've a password protected webpage where uses can download PDFs. When clicking on the Download button, the PDF is uploaded by creating a URL, which works nice but that URL is then visible for everyone. ...
0
votes
1answer
16 views

What happens when someone goes to the root URL in WordPress Multisite?

I'm going to set up a multisite for www.company.com/uk and www.company.com/usa. What will the browser show if someone just puts in www.company.com (which is the current widely used URL)?
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 ...
-1
votes
1answer
18 views

change pagination url

Currently I’m having URL for pagination pages as: http://www.example.com/category_name/page/2 But I need to change this URL structure as: http://www.example.com/category_name/?page=2 etc. any ...
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....
1
vote
1answer
37 views

Special domain for a page

I have a wp instalation on example.com and want to have secondary.com to show contents of example.com/b (b is a page) but keep secondary.com in the url (not secondary.com/b) I tried this approach: ...
0
votes
0answers
25 views

Allow duplicate slugs for pages and posts

My use case is: I have a two pages, they each have a meta information "language". Posts and pages having same language cannot have the same slug, but with different slugs it is totally fine. Currently ...
0
votes
0answers
38 views

URLs for (MultiSite) link images are always relative

How I can I get WordPress to stop making link-image URLs relative? I'm trying to add logos to the blog-roll widget, but WordPress makes the URLs of the images relative to the current blog. For ...
0
votes
1answer
15 views

bloginfo url in javascript

I'm trying to set <?php bloginfo('template_url'); ?> in a variable on Javascript, and then to set src of an img element, but in the html it's been printed as src="<?php bloginfo('template_url'...
0
votes
0answers
4 views

Add ?piura final url of products generated

I need to add via the functions.php at the end of the parameter ?Piura. Since I am using this code so that all users who have the ?Piura parameter have a special code. The problem is that the url ...
0
votes
0answers
19 views

Change url based on logged in user/different root?

I'm not sure how to word this question so I'm sure the answer is out there but I'm using the wrong search words. I have a URL where the end remains the same, but the beginning changes based on the ...
0
votes
1answer
15 views

How to show a full page when someone links directly to an image on my site

My site contains a lot of custom images. I've searched the web and found a lot of websites that link directly to the images on my site. Meaning, they link to the jpeg itself, not to the actual page on ...
0
votes
1answer
41 views

Custom Post Type Category URL

I've created a simple CPT named shop which contains some shop items. After that I've added category support to it which works fine ('taxonomies' => array( 'category' )). Then I created template-...
0
votes
2answers
150 views

Giving specific category posts its own permalink structure returns 404

i am trying to give a specific category posts it's own permalink. Followed the steps from this topic (Give specific category its own permalink structure) but the posts are giving a 404 error. Cleared ...
0
votes
1answer
24 views

Does having category name in permalinks affect SEO when having a post in multiple categories?

If I change the permalink structure to the following in the Permalinks settings page in WordPress: www.example.com/%category%/%postname%/ Then I create a post with the slug my-post and add two ...