Normally, my-custom-page/
would be rewritten to index.php?page_id=2
(or whatever the ID of that particular page is). Your rewrite is omitting the page_id
var, which is why you’re getting the blog index instead of your page.
Related Posts:
- How can I have two different urls for the same page that load two different templates?
- More than one text-domain is being used because of the included templates for plugins
- (FES EDD) New vendor submission page is blank
- Plugin-generated pages use Not Found or Pages Archive templates?
- Advanced Custom Field DatePicker [closed]
- Why namespaces are rarely used in WordPress plugins?
- Is there any hook for theme activation ? or something similar?
- How to use get_template part in the plugin?
- use EDD Content Restriction for restricting php in template
- how to display a template.php in a shortcode
- Mobile Menu and Mobile Sidebar missing
- How to prevent redoing get_posts queries and make results available to other scripts?
- WP Customer Reviews call short code on another page [closed]
- Divi Template A Few Questions
- My Blog page ( posts page ) theme isn’t changing with the new theme [closed]
- How to add links to different language versions of WordPress
- Add comments for template variables
- All sites themes functions.php have been changed
- Homemade plugin while using Themify Ultra
- What will happen if i deactivate my visual composer plug in? [closed]
- Finding the URL to be used to check if plugin is installed with a theme
- Theme/Plugin installation through url on button click
- (Big issue) Blog is Getting Down Each day.. what should i do.?
- Custom wordpress Theme and Plugin repository
- Render custom php template into string
- Perform internal redirect in WordPress?
- How WordPress is able to change locale without using setlocale
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- How can I position ShareThis buttons manually when using the plug-in? [closed]
- How to require users to login when not logged in
- Error when using plugin QuickCache with plugin Mobile Smart ? [closed]
- Does WP delete deprecated plugin/theme files on plugin/theme upgrade?
- How can I use get header from within my plugin?
- changing posts layout in ultimate member profile plugin
- Template filter for custom taxonomy terms
- How do I find out what is in control over a certain part of a website?
- “No Add Button” for me to customize my WordPress with themes and pluggins
- How do I combine a theme with a plugin
- How can I list all installed plugins/themes/versions from CLI/API?
- My single.php page does not show the related data to the post which is clicked
- how to force tag page layout to use same as search layout?
- Where are theme codes located for WordPress?
- How can I use a file in my plugin as a replacement for single.php on custom-post-type query?
- Overwrite category head title
- Calling the_excerpt from inside a plugin template file
- Best practice for including plugin output in a template without using shortcode?
- Basic gallery plugin suggestion [closed]
- Timber – Twig post.content returns null can’t create ACF Gutenberg blocks
- Is there a way to get plugins and themes not built for multisite to work on a network subsite?
- How to check if my wordpress websiste is nulled or not?
- Why does my file_exist check fail?
- Remove specific plugins and themes from the Dashboard->Updates page [duplicate]
- Create a single website with 3 theme options in wordpress
- using do_shortcode
- Create custom pages with a plugin
- How to write “alt” tag in image for wordpress code?
- Does heavy theme and plugins affect server’s response time? [closed]
- How to protect WordPress from security scanner [closed]
- How to load different homepage on Mobile.?
- Where to find the code used to render a page that has a shortcode and a template defined?
- How do I override plugin templates and stylesheets?
- How to get menu location in wp_update_nav_menu hook
- Proper way to use plugin functions in functions.php
- How to activate a plugin on the activation of a theme?
- Theme Custom Pages
- WordPress as template engine
- Use different single.php file based on condition
- how can I query all wordpress users of a blog
- how can I do something on new user registration?
- WordPress plugin won’t show on some themes
- Default taxonomy template in plugin, override in theme
- Making that Admin Bar transparent or a blue color
- Which wordpress theme is compatible Optima Express theme (real estate inventory) plugin?
- How to Include File from Plugins into Template?
- how to activate a plugin inside a theme
- Can I do in-page changes binding events/triggers to actions in WordPress?
- how remove font to increase site speed load
- How to execute plugin and theme updates from a web hook / endpoint?
- Use $variable from file1.php in file2.php (different file paths)
- There has been a critical error on your website – won’t fix no matter what
- Plugin Admin Menu Boiler Plate
- How to make a dynamic css class whose name changes every visit to confuse scraper
- Is it possible not to load theme on a specific page in wordpress?
- How to get theme’s info from wordpress.org/themes using api.wordpress.org?
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- I receive taxonomy id
- To perform the requested action, WordPress needs to access your web > server
- How to find the list of custom post type where logged in user is author
- What is the purpose of WP_CONTENT_URL?
- How to translate WP Blog (search, category etc.)?
- Theme My Login Shortcode Doesn’t Return Anything
- issue in wp_localize_script
- Include Minit plugin in theme [closed]
- Opening a JQuery modal window on click of a button with a JQuery plugin
- How do I set up XAMPP to allow me to download plugins and themes?
- How to extract a .wp-env.json or composer.json containing plugin versions from a production website?
- How do I add a plugin dependency to my customized theme?
- Moving FB comments at the end of page
- How to include files relative to a file’s directory
- How to use template inside plugin shortcode with variables for big HTML code