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.

0
votes
1answer
27 views

How to retain “Parked” domain url in address bar while displaying content from “Main” page?

I have 100 domains parked under a "main" domain, so therefore all the domains show the same WordPress content. This is great except I need the URL in the Address Bar to remain whatever the users ...
0
votes
0answers
23 views

Taxonomy URL - combine AND “+” with OR “,” operators in the url

In taxonomy URLs, terms can be combined with : "," to express OR (eg : france,england) "+" to express AND (eg : england+2017) Hence, if there exists a custom taxonomy named "mytaxo" with country ...
0
votes
0answers
11 views

Strange address for WordPress site in Google Analytics

This is the second time I have seen this pattern. Google Analytics shows views on this address pattern: /29-2/ I have never seen WordPress create a file name with this pattern before. Is it a valid ...
0
votes
0answers
9 views

How can I preserve URL parameters across pages when visitors arrive via an email campaign?

I'm fairly inexperienced with Java and web development in general beyond Wordpress Widgets so apologies in advance if it shows. When I send out an email blast I stick two parameters to the end of ...
0
votes
0answers
19 views

Draft post previews using the incorrect URL, leading to a 404

I've recently moved a Wordpress installation to a new URL, everything works as expected, apart from draft post previews. The issue is, we're using a different address for the wordpress admin, and the ...
0
votes
0answers
12 views

add url alias for wp-admin

I would to create an alias for /wp-admin in Wordpress. For example if I type mysite.com/admin then it should redirect to mysite.com/wp-admin but I don't know how to do it in using Wordpress ...
-1
votes
1answer
17 views

I changed the URL [closed]

I changed URL to whatismyipadress.com's result instead of localhost, and i can't access it anymore where's that edited to change it back? I am using WAMP, if that helps. It doesn't meet the quality ...
0
votes
1answer
19 views

How to hide URL for downloadable product in WooCommerce?

I am using Wordpress 4.9.8 and WooCommerce 3.4.6 and Feed Them Gallery PRemium for bulk upload to sell photos. My problem is when a customer buy a photos, it works fine, but on the order-re ceived ...
0
votes
2answers
22 views

Redirect only PDFs in different folders?

I need some help with google indexing old PDF pages. Here is the situation: I have a new URL of new.example.com. The website was rebuilt and the company name has changed. The URL used to be old....
0
votes
0answers
14 views

Wordpress category URL ?cat=categoryName

I need to change my category structure like this: http://example.com?cat=categoryName but I have no idea how to do it. I have been searching for more than 3 hours but doesn't find any related ...
0
votes
0answers
10 views

automatically move to media library

I need to move the attached images by users when using the insert from url option, and move those images automatically to the media library. Anyone know of any plugin to do this?
1
vote
0answers
30 views

Alias 'wp-content' directory to something shorter (framework?)

I recall seeing this as a feature of a Wordpress Development Framework, so I know it's possible (can't remember the framework). I am interested in how to condense the Wordpress-generated urls to ...
0
votes
1answer
28 views

Get Top parent url

I have the following structure: TOP PAGE SUB PAGE 1 --- SUB SUB PAGE 1 --- SUB SUB SUB PAGE 1 ---- SUB SUB SUB SUB PAGE 1 --- SUB SUB SUB PAGE 1 --- SUB SUB SUB PAGE 1 ---- SUB SUB SUB SUB PAGE 1 ...
0
votes
0answers
15 views

Possibility to link a get a link outside of root folder

I am new to WordPress and web development in general, so forgive me if this is a noob question. My Shared server is laid out in such a way public_html all my primary domains wordpress files folder1 /...
0
votes
1answer
31 views

Could not find the wordpress page

One of the pages in my clients wordpress website shows the url ....management.com/home/6120-2 I wanted to modify this page. I couldn't find it within my folders in hosting. Could you please help in ...
-1
votes
1answer
38 views

Are image addresses security relevant?

I have a website, where images are like: <img src="upload/test.jpg"/> But I checked some larger sites and they have a different src as: <img src="imgrur.com/9keqqq"/> My question is, ...
0
votes
1answer
87 views

i1.wp.com url problem (Jetpack not installed)

I added the following code to the functions.php file add_filter( 'avatar_defaults', 'new_gravatar' ); function new_gravatar ($avatar_defaults) { $myavatar = 'link'; $avatar_defaults[$...
0
votes
1answer
20 views

How to fix automatic redirects?

All page links of my wordpress website are automatically redirecting with additional string which looks like this "/#.W6nTIaV-7pE" eg: https://supremeip.com/Trademark https://supremeip.com/Trademark/...
0
votes
0answers
18 views

How to encode correclty an url with the char “&” for an email?

In a plugin I need to send an email to confirm a member registration. Inside this email HTML Content, there is a link with two parameters like this : site_url() . "/user-profile/?activate=true&...
2
votes
2answers
32 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
16 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, ...
-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
27 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
19 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
11 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
21 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
15 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
63 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
25 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
11 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
16 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
29 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
14 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
51 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
15 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
106 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
9 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
3answers
227 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
33 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
20 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
118 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
30 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 ...