Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

2
votes
2answers
15 views

Change register form action url

I have 2 registration forms, default one on /wp-login.php?action=register for "recruiter" users, other one on /wp-login.php?action=register&type=candidat for "candidates" users My problem is that ...
0
votes
0answers
12 views

Wordpress Site URL is added to external links

So my website, What If? HQ, is made with wordpress. Resources load fine on it, however if you click on the twitter link on the mobile site, and if I specify a font resource that is not local via css, ...
0
votes
0answers
6 views

Need slider plugin that can display several images per slide and can relate each image to a url [closed]

I need a slider plugin that will let me decide the number of images to display per slide. And I need each of the images to be related to url (article, page, externale resource, etc). I am using the ...
-1
votes
1answer
27 views

How to handle expired assets/content when user has direct URL

An E-Commerce site has PDF coupons that expire after a certain date. What is the best way to handle them? I've heard allowing 404's aren't great for SEO and 301 redirects can clog up the .htaccess. ...
0
votes
1answer
26 views

How do i create navigation links like this in wordpress? [closed]

Currently, I am using an Avada Theme and I would like this navigation to be in the shop and product pages.
0
votes
0answers
14 views

which hook do I use to present a message to the user when he adds an image in a post by a URL

I will make a code that when the user tries to put an image via URL without the HTTPS will present an Error message, however I do not know which hook to use, the error would have to appear in the ...
0
votes
1answer
10 views

Change WordPress names duplicate titles (url)

Got a question. Does anybody know how to change the url a duplicate title creates? If I create two posts, both named test, the addresses would be example.com/test and example.com/test-2 I would ...
1
vote
1answer
17 views

Pass GET params to URL from a main menu item

I have a booking form on page "Training" and I want it to be pre-filled with logged in user's details. For that I need to pass those details (name and email) to URL and the form should automatically ...
1
vote
0answers
14 views

How can I change all links on pages to point to a different domain from where the site is hosted?

I saw this question: How can I change permalinks to use a different domain and path from where the blog is hosted? and was wondering if someone can help me. We're hosting a wordpress blog on WP ...
1
vote
0answers
19 views

Use “search” in permalink?

I am currently in the process of migrating a custom web app to WordPress and in the custom app, search requests have a URL structure of mydomain.com/search?q={search criteria}. I attempted to add ...
0
votes
1answer
14 views

Return raw image proxy for wordpress plugin

I am trying to add a file to my wordpress plugin to return an image from a remote API using an authentication token stored in the plugin's configuration. This is my current code: <?php // Make ...
2
votes
0answers
14 views

Custom URL rewrite to specific page template

I have a standalone page with the slug: hubv2 that is using a custom page template which runs a small React app. The React app handles in browser routing and it works fine. For example I can hit /...
0
votes
2answers
22 views

How do I avoid messing up URLs when switching from example.com/subdir to example.com?

The goal is to make my hidden Wordpress site go from http://example.com/subdir (which I have now) to replace the olde site at http://example.com (which is what I want when I take my WP site live). In ...
0
votes
0answers
9 views

Adding rewrite rule for WooCommerce category?

How can a rewrite rule be applied to Woocommerce categories? I have a function to render the cart page on all URL's that end with /cart/. add_rewrite_rule( '^store/([^/]*)/cart/?', 'index.php?map=...
0
votes
1answer
15 views

Blog post Links leading to home page [closed]

I have a Wordpress site with a paid theme but I seem to have a problem with the blog posts. When I create a blogpost, the blog post title and read more links appears in the blog menu item I have. But ...
-2
votes
1answer
27 views

How to echo a dynamic url

I need to insert following dynamic URL: echo $myfy->get_retrieve_cart_url( $post->ID, $landing_page ) into: echo "<a href='"LINK"'> . get_title() . </a>"; Basically, I need to ...
0
votes
0answers
10 views

Hosting wordpress on non 80 port always requires port in URL or I get too many redirects error

I have a wordpress docker container running on host: 192.168.1.1:32811 I set the siteurl and home to 192.168.1.1:32811 and everything works OK. I then setup an nginx reverse proxy on another ...
0
votes
1answer
20 views

URL Structure for translated articles

I’m working on developing a WordPress site for my company. It’s basically going to be a blog type site with a handful of articles posted each month (usually at the same time). Each article will be ...
0
votes
1answer
25 views

Limit wp_nav_menu_objects() only to first-level menu items

I need to alter my menu URLs and add "/" to the beginning on every page except homepage. It works well using this piece of code: function change_menu($items){ if(!is_front_page()){ ...
1
vote
0answers
19 views

Check if user is logged in to site A when visiting site B

I have two separate WP installs. The main site (a.com) and the blog for that site, which is on a subdomain (blog.a.com). I need to be able to check if a user visiting blog.a.com is logged in to a.com....
0
votes
0answers
14 views

dynamic url link not working in custom pluign wordpess

$my_post = array( 'post_title' => wp_strip_all_tags( $project_name ), 'post_content' => $a_div, 'post_status' => 'publish', 'post_type' => 'ico-list', ); wp_insert_post( ...
3
votes
2answers
36 views

Adding Custom Link anchors in the top menu that points to specific sections of the site home page

My site is using a nav menu in my custom theme. I want to add navigation links to anchored links that points to specific sections of the site home page using a Custom Link in the nav menu. I want to ...
0
votes
0answers
8 views

Redirect page only if it's not loaded in an inframe

I have pages in my site that open in a lightbox popup from the home page. If a user browses directly to those pages, I'd like to redirect them to the home page instead, but that will surely stop ...
6
votes
2answers
86 views

How to remove the term “category” from category pagination?

For example, I have a category /wiki/ https://buhehe.de/wiki/ It has removed the term "category" from the URL, but please see: https://buhehe.de/wiki/page/2 It doesn't show the second category page,...
0
votes
0answers
29 views

How to combine url with category and where to find the filters name?

My need is to create manual urls with category combinations... I'm trying a lot of urls but I don't succeds to make category combination appear. I'have always not found page 404 error. I don't know ...
0
votes
2answers
23 views

Two sets of url one content?

How can I configure to have two sets of URL that actually using the same content? For example: (set 1) samplesite.com samplesite.com/about/ samplesite.com/contact/ samplesite.com/projects/ (set 2) ...
0
votes
0answers
17 views

Wordpress post archive permalink modification, how to add previous page to single.php url

The current url that links to my post loop is home/sub-page/posts, but when you click a single post's permalink, it takes you to home/posts/single.php. How can I make it so that the sub-page is still ...
0
votes
0answers
24 views

Processing URL variable and processing result into post body

In functions.php, I've added function add_custom_query_var( $vars ) { $vars[] = "registration"; return $vars; } add_filter( 'query_vars', 'add_custom_query_var' ); I've created a page template ...
1
vote
3answers
52 views

Concatenate site_url and string doesn't work

I'm trying to concatenate my site_url and a string, but it doesn't work. This is what I'm doing: $myurl = site_url(); var_dump($myurl); $url = "https" . $myurl . "/inbox/?fepaction=viewmessage&...
0
votes
1answer
28 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
41 views

My WordPress website had drooped [closed]

i had changed the URL of my website then i can't access it.How i can return it the message appear "this site can't be reach" after change the URL
0
votes
0answers
32 views

WordPress - Woocommerce: Best way to form friendly URLs that associate users and products for SEO

In my WordPress with woocommerce, I have users and products. In the task to form friendly-URLs for SEO, I like to associate products to users (not all users) only users with a specific profile. In my ...
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
24 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
8 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
17 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
26 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
38 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
0answers
16 views

No “WordPress Address (URL)” Text Box Appearing

I am trying to change the URL for my site and have read a few tutorials on the subject. However, when I go into Settings>General and look for where the text boxes are supposed to be, I see the labels "...
0
votes
0answers
18 views

Mapping DNS with the IP in my server

I got a domain and I administer it through Cloudflare, and I have my server (a virtual machine with ubuntu that I control through SSH) with wordpress installed, when I write the IP of my server in the ...
0
votes
0answers
23 views

Multisite wrong plugin assets URLs for sub-site

I have two sites in a multisite installation : https://campo-de-arroz.com/ is the main site https://casas-turquesa.com/ is the second site If you look at the source of the second site, you will ...
0
votes
1answer
17 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
33 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
36 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
9 views

Incorrect custom rewrite rules

I have a page setup with the permalink of mydomain.com/events which uses a page template. This page show all my events pulled in from an external source (so can't be a custom post type). I've then ...
0
votes
0answers
19 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
32 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
0answers
13 views

2 Seperate Themes on home page, 1 I can't edit fix or remove?

I added a new page for the home page of existing website. I updated theme to Ocean WP from Twenty Seventeen WP and am using Elementor. When I select go to site, the twenty seventeen header and menu ...
0
votes
0answers
21 views

If planning a new post, each URL gets a “/?doing_wp_cron=1234…”

unfortunately I realise that each URL from my wordpress site (actual WP version) gets a "/?doing_wp_cron=1234..." at the end if I planned a new post for public it some times later. What could cause ...
0
votes
0answers
6 views

Linking different pages to different buttons

Hi I am building a databases website. I got a excel with more than 500 data. e.g Name Email Ages See More I want to create a link to "see more" so the visitor can go to another pages for more ...