We’re rewarding the question askers & reputations are being recalculated! Read more.

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
41 views

How to add urls in html widget in a gravity form? [closed]

I am using gravity forms for my website. I added a html widget to add some text and urls to link to other pages of the site. Code: <div name="comments" id="comments" style="...
-3
votes
1answer
52 views

Lost WordPress website access after changing URL [closed]

I have changed the Site URL and Home URL of my website, after that I am not able to access it. The message appearing on the screen is "this site can’t be reached" How do I get the access back?
1
vote
0answers
28 views

Publish Post when URL is available else reschedule the post in wordpress [duplicate]

Following are the steps which I want to achieve 1. I will schedule a post. (Cron Job will setup) 2. When that scheduled post is about to publish then URL (which i will provide) will be checked, If ...
0
votes
1answer
26 views

Replace an URL with an new URL which has a “?” in it

I cannot find any way to replace automatically an url with a new url which has a “?” in its URL :-( It get just cut off everything after the first “?” including the “?” too eachtime I tried it. How ...
1
vote
0answers
11 views

wp-comment author- url +, email filter hook

Don't know how to change '@' and 'HTTP/S' in ALL comment-stuff, so those will be displayed in WP as unclickable contents. Do you have the knowledge and patience to straighten the following lines? ...
0
votes
0answers
23 views

Param causing 404

I just moved over from blogger and which added ?m=1 and ?m=0 params on a lot of urls, and they are currently saved on a lot of social media, bookmarks, etc. All requests coming in with m=x in the ...
0
votes
1answer
33 views

What php gets called for home_url/somepage URL?

This is going to sound quite stupid for most experts but for a beginner it's not clear what .php code gets called when visiting a home_url/year/month URL. For example, domain.com/2018/05 shows all ...
0
votes
1answer
270 views

Does WordPress automatically redirect url without parent slug?

I inherited admin duties for my organization's site. Ive noticed that if I enter a url with a child slug only (and drop the parent) it seems to redirect to the full url. Ex: www.example.com/child-...
0
votes
1answer
21 views

Wordpress 4.9.6 - IncludeMe & getAjax GET using wrong URL

I've built a function that GETS a JSON array and returns it and I've done this in a number of places without trouble. However, I'm trying to add new ones to some new pages on my website and the site ...
0
votes
2answers
629 views

How to allow slashes in single posts when i click in the edit permalink button

I have a problem, I have this slug: my-site/blog/wordpress-a-style-of-life/ and this other: my-site/blog/best-tips-of-wordpress/ i have to improve SEO editing both permalink like this: my-site/...
0
votes
0answers
56 views

How to generate an HTML link automatically from URL in a users' post

I am using the User Submitted Posts plugin to enable users to put posts on my Blog. I would like to take the URL from the post and convert it into an HTML link with (for example) iframe. Any ideas how ...
0
votes
0answers
23 views

CPT - Custom Text fields point to new url permalinks

I'm trying to set up a custom post type to be able to have custom textarea fields that I can add the full source of an HTML page to and have it be available to view at a certain url. I don't want them ...
1
vote
2answers
39 views

CSS not loaded when omitting www. part of URL

I have the following website: www.bibaboegifts.be. When giving in the URL https://www.bibaboegifts.be, the CSS is loaded. However, when giving in the URL https://bibaboegifts.be (without the www. ...
0
votes
1answer
1k views

Change dynamically URL to SEO friendly via .htaccess?

Is it possible to change the URL structure for the specific URL only? Currently: https://www.website.com/brochure/?brochure_id=new-year-guide Desired: https://www.website.com/brochure/new-year-guide ...
2
votes
1answer
85 views

How to Remove -14 from WordPress URL (Permalink)

Why does it have a number on my permalink But after I hit save it automatically adds a number
1
vote
0answers
12 views

Is it possible to configure WordPress's Core Files to accept duplicate Child Categories?

I am currently building a site structure, for an eCommerce site. The shopping platform, is WooCommerce As well as much research, I have spoken with many people, regarding best practices for URL ...
1
vote
1answer
132 views

How can I get the permalink of a post before it is published?

I'm trying to create a plugin that gives you a push notifications button, through the WordPress editor and I can't find a way to get the permalink of a draft post before its status is set to published....
-1
votes
2answers
168 views

img src not working correctly in custom post type

I am new to wordpress. i have a raw html box in my page having img link <button><img src="./wp-content/uploads/2018/05/video-popup.png" ></button> it shows img url as ''mysite/...
0
votes
1answer
39 views

incorrect url in Snippet editor

I am using Wordpress version 4.9.6 with Yoast SEO premium version 7.5.3. The trouble I am having is when I enter the Slug info in Yoast it then adds it to the URL in the Snippet editor, but it is ...
1
vote
1answer
452 views

How to redirect URL with subfolder to the same URL but without subfolder?

I have a WordPress site at example.com/blog. Now I want to remove the /blog subdirectory and just keep example.com. However, other sites that are referencing my site still point to example.com/blog. ...
2
votes
1answer
41 views

Multiple domain names for one site

What if you have two domain names: one is the name of the company, the other is the type of product the company sells, and you want viewers to access the site by either domain name, keeping the domain ...
0
votes
2answers
36 views

WP site homepage displays url link at beginning of each featured post

Home page on my wordpress site displays url code before showing the text of my featured posts. They display normally once the post is called in their respective pages so the issue is just on the home ...
0
votes
1answer
618 views

Use URL parameter to create dynamic content

I need to get the following task done: My client has a huge product database with way over a thousand different products with tons of details. We don't want to generate every product page individually....
0
votes
1answer
44 views

Generate new URL for popup form

currently Im using WPform and Popup Maker plugin to made the popup. When the user clicked the button, the popup form will appear but the site URL are still the same. May I know is there a plugin/...
0
votes
2answers
63 views

ACF Pro make URL Linked in Custom Template [closed]

I am new to ACF and Custom Post Types and novice at best with PHP & Coding. I need help to make the_field linked on my front end display. I also want to show the link as the link text. <?php ...
0
votes
0answers
54 views

Added a prefix in URL permalink structure but the old structure still working!

I have added the prefix /android in the URL structure of my website: https://myandroidy.com I managed to do that by adding the rewrite code below at the end of the function.php However the old ...
1
vote
1answer
36 views

reducing number of URL Redirects and increasing speed

Currently my website URL, for quickest access to the site, it is of the form https://www.example.co.uk. Generally, if people know of your website, they will enter example.co.uk. Entering the website ...
0
votes
1answer
32 views

Custome home page url

Is it possible to have specific url just for home page? I have set that recent posts are displayed on home page and I don't want it blank but instead something like www.myweb.com/home/ and on other ...
2
votes
0answers
163 views

Best way of removing emoji support from url / slug only

Couldn't find anything on the topic. I guess something could be done with the 'wp_unique_post_slug' filter but how would I go about just removing the emojis from the slug? I've tried all kinds of ...
0
votes
1answer
18 views

how to set url in admin option page

http://localhost/managingcode/wp-admin/edit.php?post_type=invitation_code&page=invitationcode&create=action How to set this ??? I have to create a from when click on button inside a option ...
0
votes
1answer
262 views

Prevent Archive URLs

My Wordpress site goes looking for an archive page if I append a year after the URL. For example: http:/mysiteurl.com/my-site/2018. If there are posts from this year, it ends up redirecting to index....
0
votes
1answer
21 views

Change the full slug for a specific category?

I have multiples categories on my post: /category/blog /category/sports …And so on. I also have /category/news I'd like to change this category url to simply have /news without the /category. How ...
0
votes
1answer
27 views

I'm unable to call img path using single quotes in an array?

I would like to call an image next to input field in wp comment form. But I'm unable to do that. I call image when '' <= single quotes doesn't exist. But I don't know how to call an image in single ...
2
votes
2answers
2k views

Encode text string being appended as query to URL [closed]

I have a shortcode in use at present that embeds a button on selected product pages. Upon clicking this button, the user is brought to a contact form on another page and the title of the Product from ...
0
votes
0answers
90 views

How to disable WordPress URL autocomplete / recognition?

By default WordPress is built to autocomplete similar URLs in order to avoid 404. This is causing some issues because we recently developed a new website and we needed to redirect old links to the ...
1
vote
1answer
2k views

Extract subdomain and relative address from a url

I am writing a plugin where I need to split a URL submitted to a form into all the component parts of the URL including subdomain, extension etc. In addition, I need to construct the relative address ...
-1
votes
2answers
69 views

How to add wordpress username after url?

maybe u can help to solve this problem. for example i have this link https://direktoriku.com/shopping/?user= and i want to add username after login, like https://direktoriku.com/shopping/?user=admin ...
0
votes
2answers
131 views

Get root folder without domain

Sometimes when developing my theme my WordPress website will be on a obscure domain such as http://localhost:8080/project/foo/bar. Is there a WordPress API function (or maybe just a PHP function) to ...
1
vote
1answer
530 views

Why does wp_redirect strip out %0A (url encoded new line character) and how do I make it stop?

Does this have something to do with sanitization? I need to pass a string as a URL parameter, and that string has \n characters in it. When the URL gets to the client, all other encoding is there (...
1
vote
2answers
1k views

Add rewrite rule for rewrite endpoint

I've created an rewrite endpoint with the add_rewrite_endpoint function … here is the whole contruct: // Register to query vars add_filter( 'query_vars', 'add_query_vars'); function add_query_vars( ...
1
vote
2answers
1k views

How to append a URL parameter to all outbound URLs

Is it possible to append ?ref=myref to all external URLs? If so I'm guessing I will also need to check if a ? already exists and use & if so. I'm a WP noob just coming from Joomla, any tips / ...
1
vote
0answers
103 views

Change url links on members loops in buddypress

I am new to buddypress, my installations is shown below. WordPress version: 4.9.4 BuddyPress Version: 2.9.3. I urgently need a way to change the url attached to members to link to member profile i....
1
vote
1answer
485 views

Remove query string specific key value

I'm adding multiple values of the same key as a query string with add_query_arg function to filter products. The problem is that i want to remove only the value of the link clicked instead of the ...
1
vote
0answers
88 views

How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?

I have a custom taxonomy which is called locations which is assigned to post types which are post and events. What I am trying to figure out is how to rewrite the URL of the terms to also include the ...
0
votes
1answer
32 views

How best to store data (URLs and IDs) extracted from posts and pages using custom taxonomies

I want to store metadata extracted from post/page content: IDs of other posts/pages on the same blog linked within the content of each post/page certain external URLs contained within the content of ...
1
vote
1answer
2k views

Create Custom URL structure for specific Post category

My Custom Structure is set to "/blog/%postname%/" This works as expected, but for Posts with the Category "testimonials", I would like to change the URL structure to be "/testimonials/%postname%/". ...
0
votes
1answer
76 views

URL to Post Archive of Custom Query

I have a custom query for a CPT, from which I can obtain an array of postid's. I want a url to the archive of the CPT, which has the query result (i.e. the posts of the postid's in the array are shown)...
0
votes
1answer
536 views

How to create custom search result page with custom URL parameters for custom post type?

So I guess the question is : How do I define new page/url to which I can pass custom parameters, do a search for custom post type and pass the results to custom template for rendering? I have made a ...
0
votes
1answer
142 views

How can I get all archive-URLs to use the same template?

I notice that mysite/?post_type=my_custom are using index.php while mysite/2018/?post_type=custom are using archive.php. How can I get both of these requests to use the same template? Btw: I'm using ...
1
vote
0answers
142 views

Removing custom meta data

I wrote some code to add some custom meta boxes to my theme admin panel, and it works like a charm. The problem is I can't figure out how to make it so I can remove some of the data too. Example: I ...