I was expecting a link like:
www.mywebsite.com/u/username
but I get instead:
www.mywebsite.com/my-profile/u/username
how can i remove “my-profile” from url?
the permalink in settings is currently set to custom:
mywebsite.com/%author%/
I tried to change it but it didn’t help.
thanks for the support
]]>I created a post type “Locations” whose single post url is https://wingerbrosnew.wpengine.com/location/murray/ I want to change it to https://wingerbrosnew.wpengine.com/location/goto/murray/.
I know it’s easy but I don’t know how to do it.
I don’t want to change other URL structures on my website. Just “Location” post type
Thanks
]]>My custom slug for “portfolio_category” is “tema” therefore for example when selecting the Category: “Piedras” it should direct to the URL: https://ns.inteldevign.com/tema/piedras however it redirects to: https://ns.inteldevign.com/portfolio_category/piedras resulting in a 404 error.
]]>Within the force_custom_slugs
function, it would be nice to have some level of control over how the title is transformed into the custom slug. Presently, spaces are turned into dashes. I was hoping to find a filter within the function that would have allowed me to simply collapse the spaces. So, instead of “Unit 1” having a custom slug of unit-1
, it could be unit1
.
Thanks.
]]>First of all thanks a lot for this awesome plugin.
Actually I wanted to know how can I remove the base slug from the BasePress content URLs to make my permalink structure cleaner as I am not using this plugin as a knowledge base but I am using it as a custom post type for a different type of content that doesn’t fit into the blog post type.
Therefore I just wanna make the URL as my blog page has, for example:
Currently, it is mysite.com/knowledgebase/section/article/
I want it like, mysite.com/section/article/ just like mysite.com/blog/article/
I know this can be done through the function PHP file but I am not an expert in that so asking for your help.
Thanks in advance.
Regards
Wasim
I have the exact same issue as: https://www.ads-software.com/support/topic/how-to-change-the-permalink-from-advert-to-something-else/
I customised my slug and it worked for months. Today it stopped working.
I disabled the edit, resaved my permalinks and all worked fine again.
Reverting it back didn’t fix things unfortunately.
My site is https://www.collectorplayingcards.com
Hope someone has a fix – will email support as well as I actually, just today, bought the extensions pack xD
Thanks,
Aron
Topic: new feature
I already submitted this idea and mentioned how relevant it is but I promise this is my last try.
Your default image slug is “word-image”. It is applied when images in the document have no altText. This is the case for 99% of documents, as people just don’t care for images altText within a Word document, sorry.
Users of your plugin end up having tons of images named “word-image-[num].*” in their upload folders. This doesn’t help for future Media Library management. We don’t know which image belongs to which post.
I would be nice to setup a default slug with at least the post ID, and also let users setup their own image slug value. It is easy to implement as I give you the code below:
lines 74-75:
<p>Images slug pattern: <input type="text" id="mammoth-docx-image-slug" name="word-image-<?php echo $post->ID; ?>" value="word-image-<?php echo $post->ID; ?>" /></p>
<p>Override image altText: <input type="checkbox" id="mammoth-docx-image-slug-override" value="true" /></p>
function generateFilename(options)
function generateFilename(options) {
// by default the image slug will be word-image-postID
var slugDefault = document.getElementById('mammoth-docx-image-slug').name;
// security if user leaves input empty
var slugCustom = (document.getElementById('mammoth-docx-image-slug').value.length == 0) ? slugDefault : document.getElementById('mammoth-docx-image-slug').value;
var slugOverride = document.getElementById('mammoth-docx-image-slug-override').checked;
var name = options.altText ? slug(options.altText.slice(0, 50), slugOptions) : slugCustom;
// if slugOverride is checked the image slug will be slugCustom even if altText is found
name = (slugOverride) ? slugCustom : name;
var extension = options.contentType.split("/")[1];
return name + "." + extension;
}
I tested it with documents using images w/ and w/o altText and everything works as intended.
No hurry, but please I would be grateful if you would update your code for the next version. I am tired of having to update your plugin by hand after each update
I have come across a snipped called Custom Slugs for WPAdverts (https://github.com/simpliko/wpadverts-snippets/blob/master/custom-slugs/custom-slugs.php) but it doesn’t seem to work or I’m doing something incorrectly, I installed it like any other plugin and changed the slugs accordingly, they do take me to the new urls when I click on something, however it gives me a regular 404 error, always.
This is how I have the plugin: https://pastebin.com/tJjWCbTc
Any help would be appreciated.
]]>My question is how can I have the vendor store url be https://mydomain.com/artistas/store-name instead of https://mydomain.com/vendors/shop-name ?
I tried changing it in Settings -> Display -> Vendor Store URL , but it changes to https://mydomain.com/artistas/vendor_username instead of keeping the store-name finish.
Any help?
]]>