You could use
<a href="https://wordpress.stackexchange.com/questions/74874/<?php echo site_url("/images/buy-button.gif" ); ?>" alt="">
Related Posts:
- Need help with add_rewrite_rule
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- Permalink format: singular or plural
- How to get pretty URLs with add_query_arg in permalinks
- Custom post type permalink endpoint
- URL rewrite based on a custom field value
- Update URL Snippet to Canonical Permalink URL
- Redirect old permalinks to new permalinks
- How to change author base without front
- How to create a permalink structure for posts in a specific category
- How to map permalinks with accented letters to sanitized slugs?
- Add custom directory in URL
- Using two permalinks for one post
- Custom rewrite rules for a $_GET request
- Nice RSS Feed URLs for each custom post type
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- Put post ID on the custom post type URL
- Rewrite url / permalink for default archive – yearly / monthly
- Permalinks, Rewrites, Get Variables, Oh My!
- Change permalink for a single post entry
- Remove the Parent category from the permalink but leave the child category
- Rewrite URL for results of a custom WP_Query
- Apostrophe in permalink results in page not found
- template_include not loading -instead goes to index.php
- Can’t get rewrite rules working
- Multilanguage URLs
- Rewrite my default post URL
- When is it a good idea to build a permalink structure from scratch?
- I need a custom permalink for my website
- How to reset canonical URLs / fix redirect loop
- Attachment Page Permalink/URL Rewrite Issue. How to change the actual rewriting?
- Permalinks: Page Not Found
- Does changing a post title of a published post automatically change permalink?
- Remove custom taxonomy base from URL
- Is a permastruct possible on pages?
- Rewrite rule for a query string
- How to add a variable as a tag base?
- WPML – how to get the permalinks to display also the default language
- Force wordpress to display page with same url structure as categories
- How can i have a custom post type with more slugs for each post?
- URL rewriting: removing the site’s basename for a specific category
- How can I get this custom post type permalink structure? %custom_post_type%-%taxonomy%-%term-postname%
- Rewrite rule intended for CPTs gives 404 for pages
- Unable to get /%postname%/ permalinks working, 404 on all links
- Permalink structure between 2 custom post types and a taxonomy
- 404 error using Meta for Permalink rewrite
- Disable date based archives for all categories except one
- How to rename ‘Tag Base’ with WPeC 3.8?
- Custom rewrite rule ignored
- How can I emulate permalink behaviour on static pages
- How to handle paging/pagination with a custom permalink?
- How do I reclaim either deleted pages or their permalinks?
- Remove parent page from url
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- WordPress pages and posts are redirecting to server IP address instead of domain URL [closed]
- Access or edit custom generated permalinks with WP_Rewrite
- optional parameter in permalink structure
- Rewrite rule not passing variable
- How to get raw unwritten querystring
- replacing post ID by custom post name in url
- “set_front” => false on custom post type breaks wp_list_categories links [closed]
- All in One Seo and Permalinks
- Post with no tag permalink problem
- rewrite based slug standar post wp
- remove SLASH on single_post but KEEP on categories and parent pages
- WordPress keeps removing query var from the URL
- How can I access to the same post-type “page” from multiple different urls?
- Multiple URL rewrite rules and get every prams
- Using a template file for a specific custom URL
- Extra url paths as variable
- Passing parameter through permalink structure
- Add word to permalinks does not transform the urls
- Add slug to default post permalinks ONLY
- How to add rewrite rule for product compare page?
- My permalinks for all pages and posts now include old page titles as parents/categories
- a way to support totally different url structure
- Pretty Filter URL
- WordPress Pagination Custom Rewrite Rule for Pages
- How to change URL of my pages?
- How can I get .html URL suffixes in permalinks?
- rewrites and custom links in page need help with add_rewrite_rule
- Converting WP Page to use full explicit paths?
- How to create an IIS7 re-write rule for a single category
- Prevent guessing slug
- All pages lead to home
- Once redirected by Rewrite rules, how can WordPress know the page?
- Although rewrite engine is on, I get 404 not found on every page
- Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?
- Customize category permalinks
- Update permalinks
- Losing the original URL when using add_rewrite_rule
- Custom Permalink Base
- Custom permalink variable on single post
- Show post content in two different places without redirect
- Permalinks, how to show them in post
- permalinks url with woocommerce
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- Blog url disappears
- Add additional URL variations for a Post
- Using a variable in page permalink