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

learn more… | top users | synonyms (1)

0
votes
0answers
90 views

url redirect to another url whilst keeping original url

I have a wordpress site (mysite.co.uk). I also have another add-on domain (mysite.fr) pointing to the wordpress site root. I have pointed this domain (mysite.fr) to this page - http://mysite.co.uk/...
0
votes
0answers
119 views

Generate page URL based on form field input

I have a WordPress page with the URL: http://example.com/mypage/ On that page I have a custom form, on the submission of the form I want to generate the URL in following format: http://example.com/...
0
votes
1answer
82 views

Best way to give site sub-page it's own domain?

I am trying to figure out the best way to have a sub-page of an existing site as the landing page of another domain. Here is the scenario: I have a wordpress site (examplesite.co.uk) that uses a ...
0
votes
1answer
606 views

How to reference a theme image in a stylesheet?

I have a global element as part of my theme and I need to reference and image as a background image. I need the URL to the image. I assume that it's bad practice to hard-code the URL and that the URL ...
0
votes
1answer
75 views

Using URL variables on a custom WP_Query

Background I have a page with a custom template 'listen', with a custom wp_query running on it... $custom_query_args = array( 'post_type' => 'post', 'tax_query' => array( array(...
0
votes
1answer
113 views

Custom Post Type Archive with Dynamic Taxonomy Filtering

I have been learning about WordPress's built-in function as described in the title. What I have learned is that WordPress will automatically filter the content displayed by the taxonomies specified ...
0
votes
0answers
5 views

How to display customized urls

I need to rewrite some urls or to create masked urls. I create two tags categories displayed as widgets on the site, job title and city name but the url of both tags categories must have the same ...
0
votes
1answer
42 views

Using permalinks with parameters

I am trying to make a custom web app with wordpress. I have a page, Person with URL http://www.domainname.com/person. In that page, i have a shortcode. This shortcode is going to extract a get ...
1
vote
2answers
895 views

What is the correct way to convert the absolute path of the executing script to a URL, in WordPress?

In a nutshell, my question is "How do I convert the absolute path of the executing script, e.g., /home/content/xx/xxxxxxxx/html/wp-content/plugins/MY_PLUGIN_DIR/MY_PLUGIN/MY_PLUGIN.PHP or /home/...
1
vote
2answers
31 views

Custom url in wordpress

I want to make custom url and handle it from my plugin Ex:- domain.com/myplugin=endpoint&id=num&.. i want to return just json data not template Thanks
0
votes
1answer
88 views

How to change the title attribute for the WP logo image on wp-login.php

This is how I change the url for the WP logo on the wp-login.php page: function my_login_url() { $url = esc_url( home_url() ); return ( $url ); } add_filter('login_headerurl', 'my_login_url')...
1
vote
1answer
56 views

Can URL remain the same if migrating from Drupal?

I would like to migrate from Drupal 6 to WordPress. The article URL in Drupal is: example.com/node/230 If I migrate to WordPress, can the URL be the same?
0
votes
0answers
38 views

PressPi can not change URL of page

I am using PressPi image on RPi to run wordpress server. Everything works just fine , when I created and designed page from LAN. However accessing page outside of LAN ,then css,images will not load,...
0
votes
0answers
45 views

How to pass extra variables in URL in wordpress

I am working on a application in wordpress where i will pass a custom variable as URL parameter. my problem is that when i pass this variable in url header, footer and menu will be disable. I wish to ...
1
vote
0answers
26 views

how to trace a file by the route url

i want to know, how can i zero in on the file that is rendered for a prticular route url. I am using the postname permalinks i.e. https://domainname.com/sample-post/ How can i check the file that is ...
0
votes
1answer
331 views

Dynamically change page title from URL param

I currently use SEO plugin but I need some extra help because the plugin cannot help me in this case. I have a page that displays data based on a URL parameter (ie. http://example.com/?user=john25). ...
0
votes
2answers
25 views

Many Rewrite Parameters/Rules

I have a bible page which is page_id of 135 and I am trying to create multiple WordPress rewrite rules. I am trying to obtain something like either of the following: website/bible/nasb website/bible/...
0
votes
1answer
50 views

How To Change the URL of a WordPress Multisite

I'm attempting to pull down and set up a live Multisite in my local dev environment to perform theme updates and fixes before reuploading and publishing the changes. The main site works fine using ...
0
votes
1answer
99 views

Open editor post in a popup

I use this code to open the popup editor. <script> function edit() { var pop = window.open(' <?php echo get_edit_post_link(); ?> ', '_blank', 'screenX=200,screenY=200,width=...
3
votes
1answer
453 views

Why “?v=hash” is added to my URLs? [closed]

I'm new to wordpress, I set up everything, but there's something that bothers me: on every single URL or link, there's a "?v=hash" appended everywhere (example.com/?v=d21feabed96b). I tried to see ...
0
votes
2answers
238 views

Call featured image url

How do I get the URL of my featured image? I am using buffy and I can Call The URL of The post and so on, but can't figure out how to Call The URL of The featured image.
2
votes
1answer
132 views

Create a separate JS application for an individual post?

Automattic is building a React.js based theme called Picard. All the JS code is in picard.js, which you can see a reference to below. Although WordPress doesn't have a "router" per se (as explained ...
0
votes
0answers
166 views

Posts not showing when category is clicked

I have a site: microman.be. The blog was imported by Blogger Import tool. All posts are visible, on the blog page too. When I click on a category in the blog sidebar an empty page turns up. The URL ...
7
votes
3answers
14k views

How to add a Custom Link to a Menu with an URL that is relative to the blog URL

Part of my work is to create Wordpress websites. I usually work on my laptop until I have something good enough to be uploaded to the test server where the client reviews it. I create a VirtualHost ...
0
votes
1answer
273 views

Add custom field to post with some part of url as value

I wish to move my site from some other CMS to WP. There is no any usefull migration, export option in my current CMS so I will need to create posts again manually. I will to transfer important fields ...
0
votes
1answer
239 views

How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?

I would like some clarification on how to achieve the following structure: Posts & Categories domain.com/blog/ - Blog index domain.com/blog/%category%/ - Blog category archive domain.com/blog/%...
0
votes
0answers
136 views

Multiple urls for the same page without 301 redirect

Is it somehow possible to have 2 urls for the same page without using redirects in htaccess or a plugin? For example: I have a page with my products: http://example.com/products/all-products and ...
0
votes
0answers
68 views

Loading WP post with AJAX in Fancybox with home in background on post URL visit

I'm developing a WP site where product thumbnails (post's featured image) are displayed on the homepage and when the user clicks on one of them, the post is loaded inside a Fancybox with AJAX. I want ...
0
votes
0answers
101 views

Dynamically add a keyword to url with a specific template

I'm working on a site that is going to have two parts. Its going to have the regular marketing website and its going to have lots of landing pages constantly being drafted up to test things. My ...
0
votes
0answers
83 views

Pagination appearing twice in URL after rewrite

For my site, I have a custom post type video set to appear at at the URL http://site.url/videos. It is paginated so that there are 24 videos per archive page. However, I am not using the single.php to ...
0
votes
0answers
42 views

Rewrite url from /page to /custom/page

I have a situation where I need some custom routes in my Wordpress set up. In my menu, there is an 'about us' item (which I set as a custom link) but it is not clickable, and just has 2 sub items in ...
0
votes
3answers
4k views

echo post-permalink without http and www

I have this line … <div class="permalink"><?php the_permalink(); ?></div> and the result on my page looks like this … http://mysite.com/whatever/post-or-so I guess it could ...
1
vote
1answer
605 views

Ninja form Redirect depending on text field content [closed]

I'm using Ninja Forms and their extension to do front-end posts. They have a function that is supposed to allow you to redirect to a specific page depending on values from the form. my purpose is to ...
1
vote
2answers
92 views

how to add prefix to post url structor only

I need to add "item/" prefix to post url only I went to Settings -> Permalinks and set this : /item/%postname%/ and for category and tag set this: category tag But other post_type and ...
0
votes
0answers
73 views

Hierarchical URL based on custom taxonomies and post types

I've been googling around for an answer to this question but the answers are either too old or hard to follow. I'm hoping I can get some clarification on how this works here. I'm trying to set up a ...
0
votes
2answers
69 views

Use wp_redirect to add a parameter

I am trying to add a function to my child theme to append the currently logged user as a parameter. For example, when the user test1 logs in and clicks on the following page: http://www.example.com/...
0
votes
1answer
66 views

How to use title attributes in sidebar widget?

I have a custom post type "article" & I need to display some custom urls is a widget in the sidebar using php code widget. When I use this code withing the loop it works perfectly: <a href="&...
0
votes
0answers
43 views

How to get parameters from this URL wordpress

Normally it is working as expected, but while I was building my recover page it wasn't working as it should: Url is: http://localhost/recover/?email=example_email@email.com&key=...
0
votes
1answer
124 views

Rewrite url without flushing the database?

Is it possible to create a rewrite in WP dynamically such that no flushing is required? For example, not storing the rewrite in the database but rather defined in my plugin code?
18
votes
8answers
29k views

How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?

I'm using a plugin called Simple Local Avatars which lets me upload author images which are stored on my server locally (no Gravatar). The plugin works fine and get_avatar returns the local avatar. ...
0
votes
0answers
58 views

How to pass parameters thru URL?

I have two input text box, one recaptcha and submit button. I want to check if the values that inputted by the user are in the database and if the recaptcha is checked. But the database is located on ...
0
votes
0answers
44 views

changing url for wordpress multisite network

I started from scratch learning Wordpress, and because I didn't have much time (or practise), I think I set up the network wrong.... So, the customer asked for a portal holding 2 sites, but because I ...
0
votes
0answers
77 views

Wordpress keeps giving me the wrong permalink

Permalink: http://www.ccdalink.com/team_member/rf-johnson/ is the name of the permalink But after I exit and save changes. Another team_member's page and picture show up in place, and I only ...
0
votes
0answers
38 views

remove current page from url in main menu

I am trying to develop a theme for my company. The website is a one-page-website although it has 3 seperate pages for disclaimer etc. The problem I'm facing is as follows. The main menu has url's ...
0
votes
1answer
271 views

how to get attached file url for current post?

Trying to get the attachment file url for current post, using this code: if ( is_singular('post') ) { $args = array( 'post_type' => 'attachment', 'posts_per_page' => -1, 'post_status' => ...
0
votes
0answers
31 views

Custom Post Type Url with Custom Fields

I have basically the same issue as in this question: Using Custom Fields in Custom Post Type URL But can't seem to make this working for me. What I have: A custom post type called 'hebergements' (...
0
votes
1answer
136 views

Using ACF Custom Field value in a URL with do_shortcode() [closed]

I am using the ACF custom fields and video.js plugins and I want to add the custom field value inside the url for the youtube video that is inside of do_shortcode() So far this is what I've come up ...
0
votes
1answer
94 views

How to list all images used on a specific page?

How do I list all the image(s) used on a specific WordPress page. I would like it to include the following if possible, Url to image Name of image Url to thumbnail of the image [Edit] I would like ...
0
votes
1answer
72 views

WordPress Subcategory Creates 2 urls for same page (serious issue)

All subcategories in WordPress create 2 urls to same page. domain.com/parentcat/childcat/ domain.com/childcat/ both urls go to the same page. in the eyes of Google this is duplicate content. it ...
0
votes
2answers
58 views

Custom post type URL

I have a page called "News", and I have created a custom post type for news. In "News" page I need to show all news custom posts and they need to be clickable. "News" page url is http://example.com/...